diff options
Diffstat (limited to 'crates/ide_db')
-rw-r--r-- | crates/ide_db/src/defs.rs | 2 |
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)] |
229 | pub enum NameRefClass { | 229 | pub enum NameRefClass { |
230 | ExternCrate(Crate), | 230 | ExternCrate(Crate), |
231 | Definition(Definition), | 231 | Definition(Definition), |