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