Remove some stale deprecations

This commit is contained in:
Aleksey Kladov 2021-01-07 13:05:51 +03:00
parent 1347b7fa4c
commit c8ace3a295
5 changed files with 5 additions and 12 deletions

View file

@ -137,7 +137,6 @@ impl Definition {
}
if let Definition::LifetimeParam(param) = self {
#[allow(deprecated)]
let range = match param.parent(db) {
hir::GenericDef::Function(it) => {
it.source(db).and_then(|src| Some(src.value.syntax().text_range()))