Skip to content

Commit 72a9e36

Browse files
authored
Merge pull request #2367 from rust-lang/rustc-pull
Rustc pull update
2 parents 4d2e6a9 + f6524cb commit 72a9e36

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
deb947971c8748f5c6203548ce4af9022f21eaf0
1+
0c33fe2c3d3eecadd17a84b110bb067288a64f1c

src/tests/ui.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,9 @@ E.g. use `//@ dont-require-annotations: NOTE` to annotate notes selectively.
372372
Avoid using this directive for `ERROR`s and `WARN`ings, unless there's a serious reason, like
373373
target-dependent compiler output.
374374

375-
Missing diagnostic kinds (`//~ message`) are currently accepted, but are being phased away.
376-
They will match any compiler output kind, but will not force exhaustive annotations for that kind.
377-
Prefer explicit kind and `//@ dont-require-annotations` to achieve the same effect.
375+
Some diagnostics are never required to be line-annotated, regardless of their kind or directives,
376+
for example secondary lines of multiline diagnostics,
377+
or ubiquitous diagnostics like `aborting due to N previous errors`.
378378

379379
UI tests use the `-A unused` flag by default to ignore all unused warnings, as
380380
unused warnings are usually not the focus of a test. However, simple code

0 commit comments

Comments
 (0)