We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b37a87 commit 1eb1140Copy full SHA for 1eb1140
1 file changed
crates/hir-ty/src/infer/closure.rs
@@ -131,7 +131,7 @@ impl<'db> InferenceContext<'_, 'db> {
131
self.table.next_ty_var()
132
}
133
ClosureKind::Coroutine { kind: CoroutineKind::AsyncGen, .. } => {
134
- unimplemented!()
+ todo!()
135
136
_ => unreachable!(),
137
};
@@ -176,7 +176,9 @@ impl<'db> InferenceContext<'_, 'db> {
176
let bound_yield_ty = match coroutine_kind {
177
CoroutineKind::Async => self.types.types.unit,
178
CoroutineKind::Gen => self.table.next_ty_var(),
179
- CoroutineKind::AsyncGen => unimplemented!(),
+ CoroutineKind::AsyncGen => {
180
181
+ }
182
183
// Compute all of the variables that will be used to populate the coroutine.
184
let resume_ty = self.table.next_ty_var();
0 commit comments