Drop MacroInputKind

This commit is contained in:
Lukas Wirth 2024-08-22 12:39:53 +02:00
parent f979667fb5
commit ce8f32022b
2 changed files with 24 additions and 74 deletions

View file

@ -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();