diff --git a/src/test/ui/dyn-star/dyn-async-trait.rs b/src/test/ui/dyn-star/dyn-async-trait.rs index a8c5a1dbf66..9b27133b493 100644 --- a/src/test/ui/dyn-star/dyn-async-trait.rs +++ b/src/test/ui/dyn-star/dyn-async-trait.rs @@ -22,7 +22,7 @@ fn increment<'a>(&'a mut self) -> dyn* Future + 'a { Box::pin(async { self.count += 1; self.count - }) as dyn* Future // FIXME(dyn-star): coercion doesn't work here yet + }) } }