Skip to content

Commit 31f31aa

Browse files
committed
Remove an obsolete comment
The test mentioned by this comment was deleted long ago by <#80290>.
1 parent 118a70f commit 31f31aa

File tree

1 file changed

+0
-6
lines changed
  • compiler/rustc_mir_build/src/build/matches

1 file changed

+0
-6
lines changed

Diff for: compiler/rustc_mir_build/src/build/matches/mod.rs

-6
Original file line numberDiff line numberDiff line change
@@ -646,12 +646,6 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
646646

647647
// Optimize the case of `let x: T = ...` to write directly
648648
// into `x` and then require that `T == typeof(x)`.
649-
//
650-
// Weirdly, this is needed to prevent the
651-
// `intrinsic-move-val.rs` test case from crashing. That
652-
// test works with uninitialized values in a rather
653-
// dubious way, so it may be that the test is kind of
654-
// broken.
655649
PatKind::AscribeUserType {
656650
subpattern:
657651
box Pat {

0 commit comments

Comments
 (0)