Skip to content

Commit

Permalink
Rollup merge of rust-lang#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 6be5eb8 + beac5b1 commit 516e844
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 516e844

Please sign in to comment.