]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/dyn-star-trait-error.stderr
Typecheck dyn* coercions
[rust.git] / src / test / ui / async-await / dyn-star-trait-error.stderr
1 error[E0277]: the trait bound `{integer}: Foo` is not satisfied
2   --> $DIR/dyn-star-trait-error.rs:9:27
3    |
4 LL |     let dyn_i: dyn* Foo = i as dyn* Foo;
5    |                           ^ the trait `Foo` is not implemented for `{integer}`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0277`.