rust/tests/ui/pub
许杰友 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
..
issue-33174-restricted-type-in-public-interface.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-33174-restricted-type-in-public-interface.stderr
pub-ident-fn-2.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pub-ident-fn-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pub-ident-fn-2.stderr
pub-ident-fn-or-struct.rs
pub-ident-fn-or-struct.stderr
pub-ident-fn-with-lifetime-2.rs
pub-ident-fn-with-lifetime-2.stderr
pub-ident-fn-with-lifetime.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pub-ident-fn-with-lifetime.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pub-ident-fn-with-lifetime.stderr
pub-ident-fn.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pub-ident-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pub-ident-fn.stderr
pub-ident-struct-2.rs
pub-ident-struct-2.stderr
pub-ident-struct-3.rs
pub-ident-struct-3.stderr
pub-ident-struct-4.fixed Detect pub structs never constructed and unused associated constants in traits 2024-06-05 23:20:09 +08:00
pub-ident-struct-4.rs Detect pub structs never constructed and unused associated constants in traits 2024-06-05 23:20:09 +08:00
pub-ident-struct-4.stderr Detect pub structs never constructed and unused associated constants in traits 2024-06-05 23:20:09 +08:00
pub-ident-struct-with-lifetime.rs
pub-ident-struct-with-lifetime.stderr
pub-ident-struct.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pub-ident-struct.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pub-ident-struct.stderr
pub-ident-with-lifetime-incomplete.rs
pub-ident-with-lifetime-incomplete.stderr
pub-reexport-priv-extern-crate.rs Spruce up the diagnostics of some early lints 2024-06-03 07:25:32 +02:00
pub-reexport-priv-extern-crate.stderr Spruce up the diagnostics of some early lints 2024-06-03 07:25:32 +02:00
pub-restricted-error-fn.rs
pub-restricted-error-fn.stderr
pub-restricted-error.rs
pub-restricted-error.stderr
pub-restricted-non-path.rs
pub-restricted-non-path.stderr
pub-restricted.rs
pub-restricted.stderr