File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -309,8 +309,9 @@ fn main((ؼ
309309
310310Use ` //~? ` to match an error without line information.
311311` //~? ` 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.
312+ It should be preferred over ` //@ error-pattern `
313+ for tests wishing to match against compiler diagnostics,
314+ due to ` //@ error-pattern ` being imprecise and non-exhaustive.
314315
315316``` rust,ignore
316317//@ compile-flags: --print yyyy
@@ -320,8 +321,8 @@ be preferred over //@ error-pattern, //@ error-pattern is imprecise and non-exha
320321
321322### ` error-pattern `
322323
323- The ` error-pattern ` [ directive] ( directives.md ) can be used for runtime messages, which don't
324- have a specific span, or in exceptional cases, for compile time messages.
324+ The ` error-pattern ` [ directive] ( directives.md ) can be used for runtime messages which don't
325+ have a specific span, or, in exceptional cases, for compile time messages.
325326
326327Let's think about this test:
327328
You can’t perform that action at this time.
0 commit comments