diff options
| author | Jeremy Stucki <jeremy@myelin.ch> | 2019-06-21 23:49:03 +0200 |
|---|---|---|
| committer | Jeremy Stucki <stucki.jeremy@gmail.com> | 2019-07-03 10:01:02 +0200 |
| commit | d28832dde96e7ed4e5124ce26f7ff03327925a56 (patch) | |
| tree | 822f689662d4b3ca51af4da76bfdadb3f8b83aaa /src/librustc_codegen_ssa | |
| parent | ec711767a7ac6911faae85d4b9285d07d5ebf949 (diff) | |
| download | rust-d28832dde96e7ed4e5124ce26f7ff03327925a56.tar.gz rust-d28832dde96e7ed4e5124ce26f7ff03327925a56.zip | |
Remove needless lifetimes
Diffstat (limited to 'src/librustc_codegen_ssa')
| -rw-r--r-- | src/librustc_codegen_ssa/mir/analyze.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_ssa/mir/analyze.rs b/src/librustc_codegen_ssa/mir/analyze.rs index 0289150a5e4..2af9b448ef1 100644 --- a/src/librustc_codegen_ssa/mir/analyze.rs +++ b/src/librustc_codegen_ssa/mir/analyze.rs @@ -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() { |
