Shorten Span of unused macro lints
The span has been recuded to the actual ident, instead of linting the *whole* macro.
This commit is contained in:
parent
9dbbbb12c0
commit
9f6ca7482c
7 changed files with 41 additions and 62 deletions
|
@ -988,7 +988,7 @@ pub struct Resolver<'a> {
|
|||
non_macro_attr: Lrc<SyntaxExtension>,
|
||||
local_macro_def_scopes: FxHashMap<LocalDefId, Module<'a>>,
|
||||
ast_transform_scopes: FxHashMap<LocalExpnId, Module<'a>>,
|
||||
unused_macros: FxHashMap<LocalDefId, (NodeId, Span)>,
|
||||
unused_macros: FxHashMap<LocalDefId, (NodeId, Ident)>,
|
||||
proc_macro_stubs: FxHashSet<LocalDefId>,
|
||||
/// Traces collected during macro resolution and validated when it's complete.
|
||||
single_segment_macro_resolutions:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue