diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-07 10:54:44 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-07 10:54:44 +0000 |
commit | 171c3c08fe245938fb25321394233de5fe2abc7c (patch) | |
tree | cb6ca14556d79df1caa088011d5389ac8b80db28 /crates/ide_db | |
parent | 1347b7fa4cdc2064ac1cb4a686f10890b9235893 (diff) | |
parent | c8ace3a295aa63ff7f210f11840e7fc9de65264c (diff) |
Merge #7190
7190: Remove some stale deprecations r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide_db')
-rw-r--r-- | crates/ide_db/src/search.rs | 1 |
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())) |