From d5edd0e9281a7d13f81a652b55acc13d594d62b6 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Sat, 19 Dec 2020 01:11:33 +0100 Subject: Test paths to derive macros --- crates/hir_def/src/nameres/tests/macros.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/hir_def/src/nameres') diff --git a/crates/hir_def/src/nameres/tests/macros.rs b/crates/hir_def/src/nameres/tests/macros.rs index 6fe2ee78a..bec1354bd 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 -- cgit v1.2.3