Skip to content

Commit

Permalink
Rollup merge of #121831 - gurry:fix-typo, r=oli-obk
Browse files Browse the repository at this point in the history
Fix typo in comment

"pop" should have been "prop"
  • Loading branch information
matthiaskrgr authored Mar 1, 2024
2 parents 01b58bd + beac5b1 commit 96e3777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir_transform/src/known_panics_lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ impl<'mir, 'tcx> ConstPropagator<'mir, 'tcx> {
}

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

0 comments on commit 96e3777

Please sign in to comment.