fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
745 B19 linesraw
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 | fn want_bar_for_any_ccx<B>(b: &B)
5   |    -------------------- required by a bound in this
6LL |     where B : for<'ccx> Bar<'ccx>
7   |               ------------------- required by this bound in `want_bar_for_any_ccx`
8...
9LL |     want_bar_for_any_ccx(b);
10   |                          ^ the trait `for<'ccx> Bar<'ccx>` is not implemented for `B`
11   |
12help: consider further restricting this bound
13   |
14LL |     where B : Qux + for<'ccx> Bar<'ccx>
15   |                   ^^^^^^^^^^^^^^^^^^^^^
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0277`.