Skip to content

Commit

Permalink
Unrolled build for rust-lang#121831
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#121831 - gurry:fix-typo, r=oli-obk

Fix typo in comment

"pop" should have been "prop"
  • Loading branch information
rust-timer authored Mar 1, 2024
2 parents 17edace + beac5b1 commit a35a04b
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 a35a04b

Please sign in to comment.