diff options
| author | Eric Holk <ericholk@microsoft.com> | 2022-11-21 10:20:12 -0800 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2022-11-21 10:20:12 -0800 |
| commit | ff38c3528a6f6c94d45d803b7954a03997f3f4a9 (patch) | |
| tree | e0c68c6007a77a8a20bc4e88c21c72ad4f72c635 | |
| parent | 1a913a634721d3a69f3b41a638d605812aca8d5a (diff) | |
| download | rust-ff38c3528a6f6c94d45d803b7954a03997f3f4a9.tar.gz rust-ff38c3528a6f6c94d45d803b7954a03997f3f4a9.zip | |
Coercions work now
| -rw-r--r-- | src/test/ui/dyn-star/dyn-async-trait.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ impl DynAsyncCounter for MyCounter { Box::pin(async { self.count += 1; self.count - }) as dyn* Future<Output = _> // FIXME(dyn-star): coercion doesn't work here yet + }) } } |
