Don't populate yield and resume types after the fact
This commit is contained in:
parent
9212108a9b
commit
5e2b66fc9d
5 changed files with 85 additions and 78 deletions
|
@ -969,7 +969,7 @@ pub fn promote_candidates<'tcx>(
|
|||
0,
|
||||
vec![],
|
||||
body.span,
|
||||
body.coroutine_kind(),
|
||||
None,
|
||||
body.tainted_by_errors,
|
||||
);
|
||||
promoted.phase = MirPhase::Analysis(AnalysisPhase::Initial);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue