2019-02-20 12:52:23 -05:00
|
|
|
error[E0277]: the trait bound `for<'ccx> B: Bar<'ccx>` is not satisfied
|
2019-09-15 21:58:20 -07:00
|
|
|
--> $DIR/hrtb-higher-ranker-supertraits-transitive.rs:47:26
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-09-04 10:17:59 -07:00
|
|
|
LL | want_bar_for_any_ccx(b);
|
2021-09-07 11:30:53 +00:00
|
|
|
| -------------------- ^ the trait `for<'ccx> Bar<'ccx>` is not implemented for `B`
|
|
|
|
| |
|
|
|
|
| required by a bound introduced by this call
|
2019-12-26 13:43:33 +01:00
|
|
|
|
|
2021-07-31 09:26:55 -07: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-21 05:21:07 +00:00
|
|
|
| -------------------- required by a bound in this function
|
2021-07-31 09:26:55 -07:00
|
|
|
LL | where B : for<'ccx> Bar<'ccx>
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^ required by this bound in `want_bar_for_any_ccx`
|
2020-03-13 19:28:14 -07:00
|
|
|
help: consider further restricting this bound
|
2019-12-26 13:43:33 +01:00
|
|
|
|
|
2020-03-13 19:28:14 -07:00
|
|
|
LL | where B : Qux + for<'ccx> Bar<'ccx>
|
2021-06-21 19:07:19 -07:00
|
|
|
| +++++++++++++++++++++
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2019-02-20 12:52:23 -05:00
|
|
|
For more information about this error, try `rustc --explain E0277`.
|