fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
704 B17 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 |     where B : Qux
10   |                  - help: consider further restricting type parameter `B`: `, B: for<'ccx> Bar<'ccx>`
11...
12LL |     want_bar_for_any_ccx(b);
13   |                          ^ the trait `for<'ccx> Bar<'ccx>` is not implemented for `B`
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0277`.