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-09-04 12:17:59 -05:00
|
|
|
LL | want_bar_for_any_ccx(b);
|
2021-09-07 06:30:53 -05:00
|
|
|
| -------------------- ^ the trait `for<'ccx> Bar<'ccx>` is not implemented for `B`
|
|
|
|
| |
|
|
|
|
| required by a bound introduced by this call
|
2019-12-26 06:43:33 -06:00
|
|
|
|
|
2021-07-31 11:26:55 -05:00
|
|
|
note: required by a bound in `want_bar_for_any_ccx`
|
|
|
|
--> $DIR/hrtb-higher-ranker-supertraits-transitive.rs:32:15
|
|
|
|
|
|
|
|
|
LL | fn want_bar_for_any_ccx<B>(b: &B)
|
2023-02-20 23:21:07 -06:00
|
|
|
| -------------------- required by a bound in this function
|
2021-07-31 11:26:55 -05:00
|
|
|
LL | where B : for<'ccx> Bar<'ccx>
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^ required by this bound in `want_bar_for_any_ccx`
|
2020-03-13 21:28:14 -05:00
|
|
|
help: consider further restricting this bound
|
2019-12-26 06:43:33 -06:00
|
|
|
|
|
2020-03-13 21:28:14 -05:00
|
|
|
LL | where B : Qux + for<'ccx> Bar<'ccx>
|
2021-06-21 21:07:19 -05:00
|
|
|
| +++++++++++++++++++++
|
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`.
|