Rollup merge of #121831 - gurry:fix-typo, r=oli-obk

Fix typo in comment

"pop" should have been "prop"
This commit is contained in:
Matthias Krüger 2024-03-01 17:51:32 +01:00 committed by GitHub
commit 96e3777a9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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