2019-02-20 11:52:23 -06:00
|
|
|
error[E0277]: the trait bound `for<'ccx> B: Bar<'ccx>` is not satisfied
|
2019-09-15 23:58:20 -05:00
|
|
|
--> $DIR/hrtb-higher-ranker-supertraits-transitive.rs:47:26
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-02-20 11:52:23 -06:00
|
|
|
LL | / fn want_bar_for_any_ccx<B>(b: &B)
|
|
|
|
LL | | where B : for<'ccx> Bar<'ccx>
|
|
|
|
LL | | {
|
|
|
|
LL | | }
|
2019-08-24 16:44:43 -05:00
|
|
|
| |_- required by `want_bar_for_any_ccx`
|
|
|
|
...
|
|
|
|
LL | want_bar_for_any_ccx(b);
|
2019-09-15 23:58:20 -05:00
|
|
|
| ^ the trait `for<'ccx> Bar<'ccx>` is not implemented for `B`
|
2019-08-24 16:44:43 -05:00
|
|
|
|
|
|
|
|
= help: consider adding a `where for<'ccx> B: Bar<'ccx>` bound
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2019-02-20 11:52:23 -06:00
|
|
|
For more information about this error, try `rustc --explain E0277`.
|