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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pub-ident-fn-or-struct.rs
pub-ident-fn-or-struct.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pub-ident-fn-with-lifetime-2.rs
pub-ident-fn-with-lifetime-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pub-ident-struct-2.rs
pub-ident-struct-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pub-ident-struct-3.rs
pub-ident-struct-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pub-ident-with-lifetime-incomplete.rs
pub-ident-with-lifetime-incomplete.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pub-restricted-non-path.rs
pub-restricted-non-path.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pub-restricted.rs
pub-restricted.stderr