File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,7 +125,6 @@ pub enum RuntimePhase {
125125 /// disallowed:
126126 /// * [`TerminatorKind::Yield`]
127127 /// * [`TerminatorKind::CoroutineDrop`]
128- /// * [`Rvalue::Aggregate`] for any `AggregateKind` except `Array`
129128 /// * [`Rvalue::CopyForDeref`]
130129 /// * [`PlaceElem::OpaqueCast`]
131130 /// * [`LocalInfo::DerefTemp`](super::LocalInfo::DerefTemp)
@@ -1447,9 +1446,6 @@ pub enum Rvalue<'tcx> {
14471446 /// This is needed because dataflow analysis needs to distinguish
14481447 /// `dest = Foo { x: ..., y: ... }` from `dest.x = ...; dest.y = ...;` in the case that `Foo`
14491448 /// has a destructor.
1450- ///
1451- /// Disallowed after deaggregation for all aggregate kinds except `Array` and `Coroutine`. After
1452- /// coroutine lowering, `Coroutine` aggregate kinds are disallowed too.
14531449 Aggregate ( Box < AggregateKind < ' tcx > > , IndexVec < FieldIdx , Operand < ' tcx > > ) ,
14541450
14551451 /// A CopyForDeref is equivalent to a read from a place at the
Original file line number Diff line number Diff line change @@ -551,9 +551,6 @@ pub enum Rvalue {
551551 /// This is needed because dataflow analysis needs to distinguish
552552 /// `dest = Foo { x: ..., y: ... }` from `dest.x = ...; dest.y = ...;` in the case that `Foo`
553553 /// has a destructor.
554- ///
555- /// Disallowed after deaggregation for all aggregate kinds except `Array` and `Coroutine`. After
556- /// coroutine lowering, `Coroutine` aggregate kinds are disallowed too.
557554 Aggregate ( AggregateKind , Vec < Operand > ) ,
558555
559556 /// * `Offset` has the same semantics as `<*const T>::offset`, except that the second
You can’t perform that action at this time.
0 commit comments