mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Drop MacroInputKind
This commit is contained in:
parent
f979667fb5
commit
ce8f32022b
2 changed files with 24 additions and 74 deletions
|
@ -181,7 +181,7 @@ fn hover_simple(
|
|||
// prefer descending the same token kind in attribute expansions, in normal macros text
|
||||
// equivalency is more important
|
||||
let mut descended = vec![];
|
||||
sema.descend_into_macros_ng(original_token.clone(), |_, token| {
|
||||
sema.descend_into_macros_ng(original_token.clone(), |token| {
|
||||
descended.push(token.value);
|
||||
});
|
||||
let descended = || descended.iter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue