File tree 1 file changed +2
-2
lines changed
compiler/rustc_middle/src/mir
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -176,9 +176,8 @@ pub enum MirPhase {
176
176
DropsLowered = 3 ,
177
177
/// After this projections may only contain deref projections as the first element.
178
178
Derefered = 4 ,
179
- /// Beginning with this phase, the following variants are disallowed:
179
+ /// Beginning with this phase, the following variant is disallowed:
180
180
/// * [`Rvalue::Aggregate`] for any `AggregateKind` except `Array`
181
- /// * [`ProjectionElem::Deref`] of `Box`
182
181
///
183
182
/// And the following variant is allowed:
184
183
/// * [`StatementKind::SetDiscriminant`]
@@ -196,6 +195,7 @@ pub enum MirPhase {
196
195
/// Beginning with this phase, the following variants are disallowed:
197
196
/// * [`TerminatorKind::Yield`](terminator::TerminatorKind::Yield)
198
197
/// * [`TerminatorKind::GeneratorDrop`](terminator::TerminatorKind::GeneratorDrop)
198
+ /// * [`ProjectionElem::Deref`] of `Box`
199
199
GeneratorsLowered = 6 ,
200
200
Optimized = 7 ,
201
201
}
You can’t perform that action at this time.
0 commit comments