Implement the unused_macro_rules lint
This commit is contained in:
@@ -887,6 +887,8 @@ pub trait ResolverExpand {
|
||||
force: bool,
|
||||
) -> Result<Lrc<SyntaxExtension>, Indeterminate>;
|
||||
|
||||
fn record_macro_rule_usage(&mut self, mac_id: NodeId, rule_index: usize);
|
||||
|
||||
fn check_unused_macros(&mut self);
|
||||
|
||||
// Resolver interfaces for specific built-in macros.
|
||||
|
||||
Reference in New Issue
Block a user