Skip to content

Commit

Permalink
Coercions work now
Browse files Browse the repository at this point in the history
  • Loading branch information
eholk committed Nov 21, 2022
1 parent 1a913a6 commit ff38c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/dyn-star/dyn-async-trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
}
}

Expand Down

0 comments on commit ff38c35

Please sign in to comment.