We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eb1140 commit 1fd3c77Copy full SHA for 1fd3c77
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
- todo!()
+ todo!("Poll<Option<ItemTy>>")
135
136
_ => unreachable!(),
137
};
@@ -177,7 +177,7 @@ impl<'db> InferenceContext<'_, 'db> {
177
CoroutineKind::Async => self.types.types.unit,
178
CoroutineKind::Gen => self.table.next_ty_var(),
179
CoroutineKind::AsyncGen => {
180
181
182
183
// Compute all of the variables that will be used to populate the coroutine.
0 commit comments