mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
remove now useless [allow(unused_lifetimes)]
This commit is contained in:
parent
a489123e80
commit
2b861a7410
@ -373,9 +373,6 @@ pub fn crate_def_map(db: &dyn DefDatabase, crate_id: Crate) -> &DefMap {
|
||||
crate_local_def_map(db, crate_id).def_map(db)
|
||||
}
|
||||
|
||||
#[allow(unused_lifetimes)]
|
||||
mod __ {
|
||||
use super::*;
|
||||
#[salsa_macros::tracked]
|
||||
pub(crate) struct DefMapPair<'db> {
|
||||
#[tracked]
|
||||
@ -384,8 +381,6 @@ mod __ {
|
||||
#[returns(ref)]
|
||||
pub(crate) local: LocalDefMap,
|
||||
}
|
||||
}
|
||||
pub(crate) use __::DefMapPair;
|
||||
|
||||
#[salsa_macros::tracked(returns(ref))]
|
||||
pub(crate) fn crate_local_def_map(db: &dyn DefDatabase, crate_id: Crate) -> DefMapPair<'_> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user