]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hrtb/hrtb-higher-ranker-supertraits-transitive.stderr
Rollup merge of #63846 - DevQps:32626-document-time-system-calls, r=rkruppe
[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:5
3    |
4 LL | / fn want_bar_for_any_ccx<B>(b: &B)
5 LL | |     where B : for<'ccx> Bar<'ccx>
6 LL | | {
7 LL | | }
8    | |_- required by `want_bar_for_any_ccx`
9 ...
10 LL |       want_bar_for_any_ccx(b);
11    |       ^^^^^^^^^^^^^^^^^^^^ the trait `for<'ccx> Bar<'ccx>` is not implemented for `B`
12    |
13    = help: consider adding a `where for<'ccx> B: Bar<'ccx>` bound
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0277`.