2018-08-08 12:28:26 +00:00
|
|
|
error[E0277]: the trait bound `{integer}: TraitA` is not satisfied
|
2019-09-16 04:58:20 +00:00
|
|
|
--> $DIR/vtable-res-trait-param.rs:17:18
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | b.gimme_an_a(y)
|
2021-09-07 11:30:53 +00:00
|
|
|
| ---------- ^ the trait `TraitA` is not implemented for `{integer}`
|
|
|
|
| |
|
|
|
|
| required by a bound introduced by this call
|
2021-10-05 23:04:09 +00:00
|
|
|
|
|
|
|
|
note: required by a bound in `TraitB::gimme_an_a`
|
|
|
|
--> $DIR/vtable-res-trait-param.rs:6:21
|
|
|
|
|
|
|
|
|
LL | fn gimme_an_a<A:TraitA>(&self, a: A) -> isize;
|
|
|
|
| ^^^^^^ required by this bound in `TraitB::gimme_an_a`
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|