From 31f31aa4714ff677befa50d95fb60cc47681b638 Mon Sep 17 00:00:00 2001 From: Zalathar Date: Thu, 25 Jul 2024 16:41:51 +1000 Subject: [PATCH] Remove an obsolete comment The test mentioned by this comment was deleted long ago by . --- compiler/rustc_mir_build/src/build/matches/mod.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/compiler/rustc_mir_build/src/build/matches/mod.rs b/compiler/rustc_mir_build/src/build/matches/mod.rs index bd9a3857905..6ac8f0d0023 100644 --- a/compiler/rustc_mir_build/src/build/matches/mod.rs +++ b/compiler/rustc_mir_build/src/build/matches/mod.rs @@ -646,12 +646,6 @@ impl<'a, 'tcx> Builder<'a, 'tcx> { // Optimize the case of `let x: T = ...` to write directly // into `x` and then require that `T == typeof(x)`. - // - // Weirdly, this is needed to prevent the - // `intrinsic-move-val.rs` test case from crashing. That - // test works with uninitialized values in a rather - // dubious way, so it may be that the test is kind of - // broken. PatKind::AscribeUserType { subpattern: box Pat {