Saw a FIXME comment and decided to fix it.
This renames `descend_into_macros` to `descend_into_macros_single` and `descend_into_macros_many` into `descend_into_macros`. However, this does not touch a function in `SemanticsImpl` of same name.
This commit is contained in:
@@ -116,7 +116,7 @@ pub(crate) fn hover(
|
||||
});
|
||||
}
|
||||
|
||||
let descended = sema.descend_into_macros_many(original_token.clone());
|
||||
let descended = sema.descend_into_macros(original_token.clone());
|
||||
|
||||
// FIXME: Definition should include known lints and the like instead of having this special case here
|
||||
if let Some(res) = descended.iter().find_map(|token| {
|
||||
|
||||
Reference in New Issue
Block a user