fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
764 B20 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   |    --------------------
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 with `+ for<'ccx> Bar<'ccx>`
13  --> $DIR/hrtb-higher-ranker-supertraits-transitive.rs:44:11
14   |
15LL |     where B : Qux
16   |           ^^^^^^^
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0277`.