aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src/search.rs
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2020-11-28 21:55:34 +0000
committerLukas Wirth <[email protected]>2020-11-29 19:54:17 +0000
commitde4ada22d484950a6f416f25c85566ea9d1830a9 (patch)
tree1cdc2df44c2cece831bff7f0fd3a500ce5880e41 /crates/ide_db/src/search.rs
parenta6f26ded0037a3efb5625ac3482a2f4ec9eb01a3 (diff)
Support self in reference search
Diffstat (limited to 'crates/ide_db/src/search.rs')
-rw-r--r--crates/ide_db/src/search.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ide_db/src/search.rs b/crates/ide_db/src/search.rs
index a3e765d05..607185ca9 100644
--- a/crates/ide_db/src/search.rs
+++ b/crates/ide_db/src/search.rs
@@ -31,6 +31,7 @@ pub enum ReferenceKind {
31 FieldShorthandForLocal, 31 FieldShorthandForLocal,
32 StructLiteral, 32 StructLiteral,
33 RecordFieldExprOrPat, 33 RecordFieldExprOrPat,
34 SelfKw,
34 Other, 35 Other,
35} 36}
36 37