We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66445e7 commit b707493Copy full SHA for b707493
src/doc/rustc-dev-guide/src/tests/ui.md
@@ -309,8 +309,9 @@ fn main((ؼ
309
310
Use `//~?` to match an error without line information.
311
`//~?` is precise and will not match errors if their line information is available.
312
-For tests wishing to match against compiler diagnostics, error annotations should
313
-be preferred over //@ error-pattern, //@ error-pattern is imprecise and non-exhaustive.
+It should be preferred over `//@ error-pattern`
+for tests wishing to match against compiler diagnostics,
314
+due to `//@ error-pattern` being imprecise and non-exhaustive.
315
316
```rust,ignore
317
//@ compile-flags: --print yyyy
0 commit comments