mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
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:
parent
f937673ce2
commit
fe35447617
11 changed files with 44 additions and 44 deletions
|
@ -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)))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue