Coercions work now

This commit is contained in:
Eric Holk 2022-11-21 10:20:12 -08:00
parent 1a913a6347
commit ff38c3528a

View File

@ -22,7 +22,7 @@ fn increment<'a>(&'a mut self) -> dyn* Future<Output = usize> + 'a {
Box::pin(async {
self.count += 1;
self.count
}) as dyn* Future<Output = _> // FIXME(dyn-star): coercion doesn't work here yet
})
}
}