aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/references
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-07 19:05:08 +0000
committerAleksey Kladov <[email protected]>2019-12-07 19:05:08 +0000
commitf4f8b8147426b0096d4b5126e487caaa13d13c27 (patch)
tree254fa877ac37b2cd535cb588034bb7bbccaa2ea2 /crates/ra_ide/src/references
parent7d2080a0311cab62388f416beeb360695dbc5ded (diff)
Get the right analyzer for impls
Diffstat (limited to 'crates/ra_ide/src/references')
-rw-r--r--crates/ra_ide/src/references/classify.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_ide/src/references/classify.rs b/crates/ra_ide/src/references/classify.rs
index 65df2e335..ed98dbc13 100644
--- a/crates/ra_ide/src/references/classify.rs
+++ b/crates/ra_ide/src/references/classify.rs
@@ -178,7 +178,6 @@ pub(crate) fn classify_name_ref(
178 Some(NameDefinition { kind, container, visibility: None }) 178 Some(NameDefinition { kind, container, visibility: None })
179 } 179 }
180 PathResolution::GenericParam(par) => { 180 PathResolution::GenericParam(par) => {
181 // FIXME: get generic param def
182 let kind = NameKind::GenericParam(par); 181 let kind = NameKind::GenericParam(par);
183 Some(NameDefinition { kind, container, visibility }) 182 Some(NameDefinition { kind, container, visibility })
184 } 183 }