Skip to content

Commit 1fd3c77

Browse files
refine todo
1 parent 1eb1140 commit 1fd3c77

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/hir-ty/src/infer/closure.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ impl<'db> InferenceContext<'_, 'db> {
131131
self.table.next_ty_var()
132132
}
133133
ClosureKind::Coroutine { kind: CoroutineKind::AsyncGen, .. } => {
134-
todo!()
134+
todo!("Poll<Option<ItemTy>>")
135135
}
136136
_ => unreachable!(),
137137
};
@@ -177,7 +177,7 @@ impl<'db> InferenceContext<'_, 'db> {
177177
CoroutineKind::Async => self.types.types.unit,
178178
CoroutineKind::Gen => self.table.next_ty_var(),
179179
CoroutineKind::AsyncGen => {
180-
todo!()
180+
todo!("Poll<Option<ItemTy>>")
181181
}
182182
};
183183
// Compute all of the variables that will be used to populate the coroutine.

0 commit comments

Comments
 (0)