Rollup merge of #121831 - gurry:fix-typo, r=oli-obk
Fix typo in comment "pop" should have been "prop"
This commit is contained in:
commit
96e3777a9f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue