diff --git a/crates/hir_def/src/nameres/tests/macros.rs b/crates/hir_def/src/nameres/tests/macros.rs index 6fe2ee78a1f..bec1354bda9 100644 --- a/crates/hir_def/src/nameres/tests/macros.rs +++ b/crates/hir_def/src/nameres/tests/macros.rs @@ -634,9 +634,9 @@ fn expand_derive() { let map = compute_crate_def_map( " //- /main.rs crate:main deps:core - use core::*; + use core::Copy; - #[derive(Copy, Clone)] + #[derive(Copy, core::Clone)] struct Foo; //- /core.rs crate:core