mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Remove some stale deprecations
This commit is contained in:
parent
1347b7fa4c
commit
c8ace3a295
5 changed files with 5 additions and 12 deletions
|
@ -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()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue