mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |