expand/resolve: Turn #[derive] into a regular macro attribute
This commit is contained in:
@@ -636,6 +636,9 @@ pub trait LintContext: Sized {
|
||||
db.span_label(span, "ABI should be specified here");
|
||||
db.help(&format!("the default ABI is {}", default_abi.name()));
|
||||
}
|
||||
BuiltinLintDiagnostics::LegacyDeriveHelpers(span) => {
|
||||
db.span_label(span, "the attribute is introduced here");
|
||||
}
|
||||
}
|
||||
// Rewrap `db`, and pass control to the user.
|
||||
decorate(LintDiagnosticBuilder::new(db));
|
||||
|
||||
Reference in New Issue
Block a user