Skip to content

Commit 5f6d843

Browse files
authored
Merge pull request #2291 from rust-lang/rustc-pull
Rustc pull update
2 parents ff6719e + 216eb51 commit 5f6d843

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ae9173d7dd4a31806c950c90dcc331f1508b4d17
1+
25a615bf829b9f6d6f22da537e3851043f92e5f2

src/tests/ui.md

+3
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,9 @@ But for strict testing, try to use the `ERROR` annotation as much as possible,
335335
including `//~?` annotations for diagnostics without span.
336336
For compile time diagnostics `error-pattern` should very rarely be necessary.
337337

338+
Per-line annotations (`//~`) are still checked in tests using `error-pattern`,
339+
to opt out of these checks in exceptional cases use `//@ compile-flags: --error-format=human`.
340+
338341
### Error levels
339342

340343
The error levels that you can have are:

0 commit comments

Comments
 (0)