]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hrtb/hrtb-higher-ranker-supertraits-transitive.stderr
Auto merge of #84589 - In-line:zircon-thread-name, r=JohnTitor
[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    |    -------------------- required by a bound in this
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 further restricting this bound
13    |
14 LL |     where B : Qux + for<'ccx> Bar<'ccx>
15    |                   ^^^^^^^^^^^^^^^^^^^^^
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0277`.