Add a note to duplicate diagnostics

This commit is contained in:
Alex Macleod 2023-10-04 18:34:50 +00:00
parent 2ffeb4636b
commit 5453a9f34d
166 changed files with 460 additions and 203 deletions

View file

@ -1,12 +1,7 @@
// compile-flags: -Zdeduplicate-diagnostics=yes
#![deny(unknown_lints)]
//~^ NOTE defined here
#![allow(rustdoc::missing_doc_code_examples)]
//~^ ERROR unknown lint
//~| ERROR unknown lint
//~| ERROR unknown lint
//~| NOTE lint is unstable
//~| NOTE lint is unstable
//~| NOTE lint is unstable
//~| NOTE see issue
//~| NOTE see issue
//~| NOTE see issue