]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/vtable-res-trait-param.stderr
Rollup merge of #100112 - RalfJung:assert_send_and_sync, r=m-ou-se
[rust.git] / src / test / ui / traits / vtable-res-trait-param.stderr
1 error[E0277]: the trait bound `{integer}: TraitA` is not satisfied
2   --> $DIR/vtable-res-trait-param.rs:17:18
3    |
4 LL |     b.gimme_an_a(y)
5    |       ---------- ^ the trait `TraitA` is not implemented for `{integer}`
6    |       |
7    |       required by a bound introduced by this call
8    |
9 note: required by a bound in `TraitB::gimme_an_a`
10   --> $DIR/vtable-res-trait-param.rs:6:21
11    |
12 LL |     fn gimme_an_a<A:TraitA>(&self, a: A) -> isize;
13    |                     ^^^^^^ required by this bound in `TraitB::gimme_an_a`
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0277`.