aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_hir_def/src/nameres.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_hir_def/src/nameres.rs b/crates/ra_hir_def/src/nameres.rs
index 9aaf7736b..3e1521870 100644
--- a/crates/ra_hir_def/src/nameres.rs
+++ b/crates/ra_hir_def/src/nameres.rs
@@ -149,8 +149,7 @@ static BUILTIN_SCOPE: Lazy<FxHashMap<Name, Resolution>> = Lazy::new(|| {
149 .collect() 149 .collect()
150}); 150});
151 151
152/// Shadow mode for builtin type 152/// Shadow mode for builtin type which can be shadowed by module.
153/// Builtin type can be shadowed by same name mode
154#[derive(Debug, Copy, Clone, PartialEq, Eq)] 153#[derive(Debug, Copy, Clone, PartialEq, Eq)]
155pub enum BuiltinShadowMode { 154pub enum BuiltinShadowMode {
156 // Prefer Module 155 // Prefer Module