mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
needless_lifetimes
This commit is contained in:
parent
3839f9a9a2
commit
a342e936e3
2 changed files with 1 additions and 2 deletions
|
@ -509,7 +509,7 @@ impl Resolver {
|
|||
.map(|id| ExternCrateDeclData::extern_crate_decl_data_query(db, id).name.clone())
|
||||
}
|
||||
|
||||
pub fn extern_crates_in_scope<'a>(&'a self) -> impl Iterator<Item = (Name, ModuleId)> + 'a {
|
||||
pub fn extern_crates_in_scope(&self) -> impl Iterator<Item = (Name, ModuleId)> + '_ {
|
||||
self.module_scope
|
||||
.def_map
|
||||
.extern_prelude()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue