Spruce up the diagnostics of some early lints

This commit is contained in:
León Orell Valerian Liehr
2024-06-03 07:17:19 +02:00
parent 9f2d0b3490
commit b2949ff911
32 changed files with 83 additions and 51 deletions

View File

@@ -707,7 +707,10 @@ pub enum BuiltinLintDiag {
},
MacroUseDeprecated,
UnusedMacroUse,
PrivateExternCrateReexport(Ident),
PrivateExternCrateReexport {
source: Ident,
extern_crate_span: Span,
},
UnusedLabel,
MacroIsPrivate(Ident),
UnusedMacroDefinition(Symbol),