From fd5b40fd3ed3ff818c0cb7e4fcedb892d2c5cde3 Mon Sep 17 00:00:00 2001 From: Matthew Jasper Date: Thu, 2 Sep 2021 09:21:16 +0100 Subject: Remove TODO --- compiler/rustc_mir_build/src/build/matches/mod.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'compiler/rustc_mir_build') diff --git a/compiler/rustc_mir_build/src/build/matches/mod.rs b/compiler/rustc_mir_build/src/build/matches/mod.rs index d13c4f5a5a0..a8bffc307cd 100644 --- a/compiler/rustc_mir_build/src/build/matches/mod.rs +++ b/compiler/rustc_mir_build/src/build/matches/mod.rs @@ -63,7 +63,6 @@ impl<'a, 'tcx> Builder<'a, 'tcx> { this.lower_let_else(block, &this.thir[expr], pat, break_scope, variable_scope_span) } _ => { - // TODO `as_temp`? let mutability = Mutability::Mut; let place = unpack!(block = this.as_temp(block, Some(temp_scope), expr, mutability)); -- cgit 1.4.1-3-g733a5