]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hrtb/hrtb-higher-ranker-supertraits-transitive.stderr
Auto merge of #64151 - estebank:binding-error, r=varkor
[rust.git] / src / test / ui / hrtb / hrtb-higher-ranker-supertraits-transitive.stderr
1 error[E0277]: the trait bound `for<'ccx> B: Bar<'ccx>` is not satisfied
2   --> $DIR/hrtb-higher-ranker-supertraits-transitive.rs:47:26
3    |
4 LL | fn want_bar_for_any_ccx<B>(b: &B)
5    |    --------------------
6 LL |     where B : for<'ccx> Bar<'ccx>
7    |               ------------------- required by this bound in `want_bar_for_any_ccx`
8 ...
9 LL |     want_bar_for_any_ccx(b);
10    |                          ^ the trait `for<'ccx> Bar<'ccx>` is not implemented for `B`
11    |
12    = help: consider adding a `where for<'ccx> B: Bar<'ccx>` bound
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.