rust/tests/ui/extern-flag
许杰友 Jieyou Xu (Joe) 81ff9b5770
Rollup merge of #125913 - fmease:early-lints-spruce-up-some-diags, r=Nadrieril
Spruce up the diagnostics of some early lints

Implement the various "*(note to myself) in a follow-up PR we should turn parts of this message into a subdiagnostic (help msg or even struct sugg)*" drive-by comments I left in #124417 during my review.

For context, before #124417, only a few early lints touched/decorated/customized their diagnostic because the former API made it a bit awkward. Likely because of that, things that should've been subdiagnostics were just crammed into the primary message. This PR rectifies this.
2024-06-11 09:14:34 +01:00
..
auxiliary
empty-extern-arg.rs
empty-extern-arg.stderr Revert "Rollup merge of #124976 - petrochenkov:usedcrates, r=oli-obk" 2024-06-06 10:06:28 +00:00
force-extern.rs
invalid-crate-name-dashed.rs
invalid-crate-name-dashed.stderr
invalid-crate-name-non-ascii.rs
invalid-crate-name-non-ascii.stderr
invalid-crate-name.rs
invalid-crate-name.stderr
multiple-opts.rs
multiple-opts.stderr
no-force-extern.rs
no-nounused.rs
no-nounused.stderr
noprelude-and-prelude.rs
noprelude-resolves.rs
noprelude.rs
noprelude.stderr
nounused.rs
public-and-private.rs
public-and-private.stderr
redundant-force-extern.rs