mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
needless_lifetimes
This commit is contained in:
parent
3839f9a9a2
commit
a342e936e3
2 changed files with 1 additions and 2 deletions
|
@ -176,7 +176,6 @@ forget_non_drop = "allow"
|
|||
format_collect = "allow"
|
||||
large_enum_variant = "allow"
|
||||
needless_doctest_main = "allow"
|
||||
needless_lifetimes = "allow"
|
||||
needless_pass_by_value = "allow"
|
||||
needless_return = "allow"
|
||||
new_without_default = "allow"
|
||||
|
|
|
@ -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…
Reference in a new issue