fix: rename generator to coroutine also in dependencies

Follow the rename in nightly (see https://blog.rust-lang.org/inside-rust/2023/10/23/coroutines.html)
This commit is contained in:
Moritz Hedtke 2023-12-25 23:42:38 +01:00
parent f937673ce2
commit fe35447617
11 changed files with 44 additions and 44 deletions

View file

@ -250,7 +250,7 @@ impl InferenceContext<'_> {
.build();
let coroutine_id = self.db.intern_coroutine((self.owner, tgt_expr)).into();
let coroutine_ty = TyKind::Generator(coroutine_id, subst).intern(Interner);
let coroutine_ty = TyKind::Coroutine(coroutine_id, subst).intern(Interner);
(None, coroutine_ty, Some((resume_ty, yield_ty)))
}