Greatly simplify lifetime captures in edition 2024
This commit is contained in:
parent
46420c9607
commit
12e3911d81
84 changed files with 223 additions and 294 deletions
|
@ -323,7 +323,7 @@ impl<'tcx> MonoItems<'tcx> {
|
|||
self.items.entry(item.node).or_insert(item.span);
|
||||
}
|
||||
|
||||
fn items(&self) -> impl Iterator<Item = MonoItem<'tcx>> + '_ {
|
||||
fn items(&self) -> impl Iterator<Item = MonoItem<'tcx>> {
|
||||
self.items.keys().cloned()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue