The ui/deprecated.stderr and ui/rename.stderr contain duplicate lint emissions in two cases after rustup to rust-lang/rust#57726.
I think the reason for the duplicates is this change here:
https://github.com/rust-lang/rust/blob/9b5535a6f38340d3be8fcae1822a04ba3febf82f/src/librustc/lint/context.rs#L1325
They now run early_lint_crate twice. Once with the builtin lints and once with the registered lint passes. Those warnings aren't generated by a normal lint but rather when the lints are looked up from attributes which happens twice now.
I'm not sure why only the first is duplicated though. Maybe because they filter duplicates but the first one has a note. 🤔
Originally posted by @mikerite in #3705 (comment)
The
ui/deprecated.stderrandui/rename.stderrcontain duplicate lint emissions in two cases after rustup to rust-lang/rust#57726.Originally posted by @mikerite in #3705 (comment)