1 error[E0308]: mismatched types
2 --> $DIR/hrtb-higher-ranker-supertraits.rs:18:5
4 LL | want_foo_for_any_tcx(f); //~ ERROR E0308
5 | ^^^^^^^^^^^^^^^^^^^^ one type is more general than the other
7 = note: expected type `for<'tcx> Foo<'tcx>`
10 error[E0308]: mismatched types
11 --> $DIR/hrtb-higher-ranker-supertraits.rs:35:5
13 LL | want_bar_for_any_ccx(b); //~ ERROR E0308
14 | ^^^^^^^^^^^^^^^^^^^^ one type is more general than the other
16 = note: expected type `for<'ccx> Bar<'ccx>`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0308`.