Skip to content

Commit a35a04b

Browse files
authored
Unrolled build for rust-lang#121831
Rollup merge of rust-lang#121831 - gurry:fix-typo, r=oli-obk Fix typo in comment "pop" should have been "prop"
2 parents 17edace + beac5b1 commit a35a04b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir_transform/src/known_panics_lint.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ impl<'mir, 'tcx> ConstPropagator<'mir, 'tcx> {
586586
}
587587

588588
Aggregate(ref kind, ref fields) => {
589-
// Do not const pop union fields as they can be
589+
// Do not const prop union fields as they can be
590590
// made to produce values that don't match their
591591
// underlying layout's type (see ICE #121534).
592592
// If the last element of the `Adt` tuple

0 commit comments

Comments
 (0)