Remove an obsolete comment

The test mentioned by this comment was deleted long ago by
<https://github.com/rust-lang/rust/pull/80290>.
This commit is contained in:
Zalathar 2024-07-25 16:41:51 +10:00
parent 118a70f38c
commit 31f31aa471

View File

@ -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 {