File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -372,9 +372,9 @@ E.g. use `//@ dont-require-annotations: NOTE` to annotate notes selectively.
372372Avoid using this directive for ` ERROR ` s and ` WARN ` ings, unless there's a serious reason, like
373373target-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
379379UI tests use the ` -A unused ` flag by default to ignore all unused warnings, as
380380unused warnings are usually not the focus of a test. However, simple code
You can’t perform that action at this time.
0 commit comments