You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #116428 - Alexendoo:note-duplicate-diagnostics, r=compiler-errors,estebank
Add a note to duplicate diagnostics
Helps explain why there may be a difference between manual testing and the test suite output and highlights them as something to potentially look into
For existing duplicate diagnostics I just blessed them other than a few files that had other `NOTE` annotations in
= note: see issue #101730 <https://github.com/rust-lang/rust/issues/101730> for more information
9
9
= help: add `#![feature(rustdoc_missing_doc_code_examples)]` to the crate attributes to enable
= note: the `rustdoc::missing_doc_code_examples` lint is unstable
23
-
= note: see issue #101730 <https://github.com/rust-lang/rust/issues/101730> for more information
24
-
= help: add `#![feature(rustdoc_missing_doc_code_examples)]` to the crate attributes to enable
= note: the `rustdoc::missing_doc_code_examples` lint is unstable
33
-
= note: see issue #101730 <https://github.com/rust-lang/rust/issues/101730> for more information
34
-
= help: add `#![feature(rustdoc_missing_doc_code_examples)]` to the crate attributes to enable
Copy file name to clipboardexpand all lines: tests/ui-fulldeps/plugin/lint-plugin-forbid-attrs.stderr
+2
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,8 @@ LL | #![forbid(test_lint)]
27
27
...
28
28
LL | #[allow(test_lint)]
29
29
| ^^^^^^^^^ overruled by previous forbid
30
+
|
31
+
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
30
32
31
33
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
Copy file name to clipboardexpand all lines: tests/ui-fulldeps/plugin/lint-plugin-forbid-cmdline.stderr
+1
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ LL | #[allow(test_lint)]
21
21
| ^^^^^^^^^ overruled by previous forbid
22
22
|
23
23
= note: `forbid` lint level was set on command line
24
+
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
24
25
25
26
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
0 commit comments