aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-01-07 10:05:51 +0000
committerAleksey Kladov <[email protected]>2021-01-07 10:54:18 +0000
commitc8ace3a295aa63ff7f210f11840e7fc9de65264c (patch)
treecb6ca14556d79df1caa088011d5389ac8b80db28 /crates/ide_db/src
parent1347b7fa4cdc2064ac1cb4a686f10890b9235893 (diff)
Remove some stale deprecations
Diffstat (limited to 'crates/ide_db/src')
-rw-r--r--crates/ide_db/src/search.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ide_db/src/search.rs b/crates/ide_db/src/search.rs
index 436c59d2c..37b06027c 100644
--- a/crates/ide_db/src/search.rs
+++ b/crates/ide_db/src/search.rs
@@ -137,7 +137,6 @@ impl Definition {
137 } 137 }
138 138
139 if let Definition::LifetimeParam(param) = self { 139 if let Definition::LifetimeParam(param) = self {
140 #[allow(deprecated)]
141 let range = match param.parent(db) { 140 let range = match param.parent(db) {
142 hir::GenericDef::Function(it) => { 141 hir::GenericDef::Function(it) => {
143 it.source(db).and_then(|src| Some(src.value.syntax().text_range())) 142 it.source(db).and_then(|src| Some(src.value.syntax().text_range()))