1
Fork 0

Don't populate yield and resume types after the fact

This commit is contained in:
Michael Goulet 2024-01-06 17:00:24 +00:00
parent 9212108a9b
commit 5e2b66fc9d
5 changed files with 85 additions and 78 deletions

View file

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