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 committed Mar 1, 2024
2 parents b74cb7d + beac5b1 commit a9d3734
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 a9d3734

Please sign in to comment.