mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
81ff9b5770
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. |
||
---|---|---|
.. | ||
issue-33174-restricted-type-in-public-interface.rs | ||
issue-33174-restricted-type-in-public-interface.stderr | ||
pub-ident-fn-2.fixed | ||
pub-ident-fn-2.rs | ||
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 | ||
pub-ident-fn-with-lifetime.rs | ||
pub-ident-fn-with-lifetime.stderr | ||
pub-ident-fn.fixed | ||
pub-ident-fn.rs | ||
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 | ||
pub-ident-struct-4.rs | ||
pub-ident-struct-4.stderr | ||
pub-ident-struct-with-lifetime.rs | ||
pub-ident-struct-with-lifetime.stderr | ||
pub-ident-struct.fixed | ||
pub-ident-struct.rs | ||
pub-ident-struct.stderr | ||
pub-ident-with-lifetime-incomplete.rs | ||
pub-ident-with-lifetime-incomplete.stderr | ||
pub-reexport-priv-extern-crate.rs | ||
pub-reexport-priv-extern-crate.stderr | ||
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 |