diff --git a/crates/hir-def/src/nameres/tests/macros.rs b/crates/hir-def/src/nameres/tests/macros.rs index 0f6e64016f..bf89ea711a 100644 --- a/crates/hir-def/src/nameres/tests/macros.rs +++ b/crates/hir-def/src/nameres/tests/macros.rs @@ -1348,8 +1348,8 @@ fn proc_attr(a: TokenStream, b: TokenStream) -> TokenStream { a } let actual = def_map .macro_use_prelude - .iter() - .map(|(name, _)| name.display(&db).to_string()) + .keys() + .map(|name| name.display(&db).to_string()) .sorted() .join("\n");