diff options
author | Jonas Schievink <[email protected]> | 2020-12-19 00:11:33 +0000 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-12-19 00:11:33 +0000 |
commit | d5edd0e9281a7d13f81a652b55acc13d594d62b6 (patch) | |
tree | d8960cbaa8ca6ce122d5884c8adcc8b5cb1d6139 /crates/hir_def/src | |
parent | ea5cc8d07ac28a2110b894d154468c3fa46d7040 (diff) |
Test paths to derive macros
Diffstat (limited to 'crates/hir_def/src')
-rw-r--r-- | crates/hir_def/src/nameres/tests/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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() { | |||
634 | let map = compute_crate_def_map( | 634 | let map = compute_crate_def_map( |
635 | " | 635 | " |
636 | //- /main.rs crate:main deps:core | 636 | //- /main.rs crate:main deps:core |
637 | use core::*; | 637 | use core::Copy; |
638 | 638 | ||
639 | #[derive(Copy, Clone)] | 639 | #[derive(Copy, core::Clone)] |
640 | struct Foo; | 640 | struct Foo; |
641 | 641 | ||
642 | //- /core.rs crate:core | 642 | //- /core.rs crate:core |