aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src/defs.rs
diff options
context:
space:
mode:
authorunexge <[email protected]>2020-08-14 20:10:49 +0100
committerunexge <[email protected]>2020-08-20 19:34:53 +0100
commitbb72150f0214c9395c48fdd3ee93650f0a507112 (patch)
treee908449d3b1faf038e963611877e09e480ffb538 /crates/ide_db/src/defs.rs
parent128eef779f572a8120cb475d86a373ac4c9e5559 (diff)
Handle more cases in AST replacing in expand glob import
Diffstat (limited to 'crates/ide_db/src/defs.rs')
-rw-r--r--crates/ide_db/src/defs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_db/src/defs.rs b/crates/ide_db/src/defs.rs
index 0d0affc27..1e7a1f159 100644
--- a/crates/ide_db/src/defs.rs
+++ b/crates/ide_db/src/defs.rs
@@ -225,7 +225,7 @@ pub fn classify_name(sema: &Semantics<RootDatabase>, name: &ast::Name) -> Option
225 } 225 }
226} 226}
227 227
228#[derive(Debug)] 228#[derive(Debug, Clone, PartialEq, Eq)]
229pub enum NameRefClass { 229pub enum NameRefClass {
230 ExternCrate(Crate), 230 ExternCrate(Crate),
231 Definition(Definition), 231 Definition(Definition),