Skip to content

Commit

Permalink
Remove an obsolete comment
Browse files Browse the repository at this point in the history
The test mentioned by this comment was deleted long ago by
<#80290>.
  • Loading branch information
Zalathar committed Jul 25, 2024
1 parent 118a70f commit 31f31aa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions compiler/rustc_mir_build/src/build/matches/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 31f31aa

Please sign in to comment.