aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/path/lower/lower_use.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-05-20 11:59:20 +0100
committerAleksey Kladov <[email protected]>2020-05-20 12:02:53 +0100
commitecac5d7de2192873c24b7b06d4964d188d8abe6a (patch)
treef916c9d90a5b1817db4aed2c60db2ce4809dab1f /crates/ra_hir_def/src/path/lower/lower_use.rs
parent5258c817f78ecdfe12d7eec44ab3169134cba71d (diff)
Switch to new magic marks
Diffstat (limited to 'crates/ra_hir_def/src/path/lower/lower_use.rs')
-rw-r--r--crates/ra_hir_def/src/path/lower/lower_use.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir_def/src/path/lower/lower_use.rs b/crates/ra_hir_def/src/path/lower/lower_use.rs
index 5b6854b0f..7cc655487 100644
--- a/crates/ra_hir_def/src/path/lower/lower_use.rs
+++ b/crates/ra_hir_def/src/path/lower/lower_use.rs
@@ -6,7 +6,7 @@ use std::iter;
6use either::Either; 6use either::Either;
7use hir_expand::{hygiene::Hygiene, name::AsName}; 7use hir_expand::{hygiene::Hygiene, name::AsName};
8use ra_syntax::ast::{self, NameOwner}; 8use ra_syntax::ast::{self, NameOwner};
9use test_utils::tested_by; 9use test_utils::mark;
10 10
11use crate::path::{ImportAlias, ModPath, PathKind}; 11use crate::path::{ImportAlias, ModPath, PathKind};
12 12
@@ -54,7 +54,7 @@ pub(crate) fn lower_use_tree(
54 // FIXME: report errors somewhere 54 // FIXME: report errors somewhere
55 // We get here if we do 55 // We get here if we do
56 } else if is_glob { 56 } else if is_glob {
57 tested_by!(glob_enum_group); 57 mark::hit!(glob_enum_group);
58 if let Some(prefix) = prefix { 58 if let Some(prefix) = prefix {
59 cb(prefix, &tree, is_glob, None) 59 cb(prefix, &tree, is_glob, None)
60 } 60 }