fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `for<'ccx> B: Bar<'ccx>` is not satisfied 2 --> $DIR/hrtb-higher-ranker-supertraits-transitive.rs:47:26 3 | 4LL | want_bar_for_any_ccx(b); 5 | -------------------- ^ the trait `for<'ccx> Bar<'ccx>` is not implemented for `B` 6 | | 7 | required by a bound introduced by this call 8 | 9note: required by a bound in `want_bar_for_any_ccx` 10 --> $DIR/hrtb-higher-ranker-supertraits-transitive.rs:32:15 11 | 12LL | fn want_bar_for_any_ccx<B>(b: &B) 13 | -------------------- required by a bound in this function 14LL | where B : for<'ccx> Bar<'ccx> 15 | ^^^^^^^^^^^^^^^^^^^ required by this bound in `want_bar_for_any_ccx` 16help: consider further restricting this bound 17 | 18LL | where B : Qux + for<'ccx> Bar<'ccx> 19 | +++++++++++++++++++++ 20 21error: aborting due to previous error 22 23For more information about this error, try `rustc --explain E0277`.