Skip to content

Commit a9d3734

Browse files
authored
Rollup merge of #121831 - gurry:fix-typo, r=oli-obk
Fix typo in comment "pop" should have been "prop"
2 parents b74cb7d + beac5b1 commit a9d3734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)