diff options
author | Aleksey Kladov <[email protected]> | 2019-03-14 08:53:40 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-03-17 09:49:07 +0000 |
commit | 71e5adf694a4b253bc5bb48be96bb6ba08002d8c (patch) | |
tree | 27208afed0ec41b07f8fffa05659259f13fc027c /crates/ra_hir/src/nameres/crate_def_map.rs | |
parent | 2195d1db6d70d64383bec82819fab02891d09744 (diff) |
move tests over to crate-def-map
Diffstat (limited to 'crates/ra_hir/src/nameres/crate_def_map.rs')
-rw-r--r-- | crates/ra_hir/src/nameres/crate_def_map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/nameres/crate_def_map.rs b/crates/ra_hir/src/nameres/crate_def_map.rs index d7ccb6584..37b36719f 100644 --- a/crates/ra_hir/src/nameres/crate_def_map.rs +++ b/crates/ra_hir/src/nameres/crate_def_map.rs | |||
@@ -273,7 +273,7 @@ impl CrateDefMap { | |||
273 | } | 273 | } |
274 | ModuleDef::Enum(e) => { | 274 | ModuleDef::Enum(e) => { |
275 | // enum variant | 275 | // enum variant |
276 | tested_by!(item_map_enum_importing); | 276 | tested_by!(can_import_enum_variant); |
277 | match e.variant(db, &segment.name) { | 277 | match e.variant(db, &segment.name) { |
278 | Some(variant) => PerNs::both(variant.into(), variant.into()), | 278 | Some(variant) => PerNs::both(variant.into(), variant.into()), |
279 | None => { | 279 | None => { |