Remove needless lifetimes
This commit is contained in:
parent
ec711767a7
commit
d28832dde9
48 changed files with 182 additions and 182 deletions
|
|
@ -273,7 +273,7 @@ impl CleanupKind {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn cleanup_kinds<'tcx>(mir: &mir::Body<'tcx>) -> IndexVec<mir::BasicBlock, CleanupKind> {
|
||||
pub fn cleanup_kinds(mir: &mir::Body<'_>) -> IndexVec<mir::BasicBlock, CleanupKind> {
|
||||
fn discover_masters<'tcx>(result: &mut IndexVec<mir::BasicBlock, CleanupKind>,
|
||||
mir: &mir::Body<'tcx>) {
|
||||
for (bb, data) in mir.basic_blocks().iter_enumerated() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue