1 error[E0277]: the trait bound `for<'a> StaticInt: Foo<&'a isize>` is not satisfied
2 --> $DIR/hrtb-just-for-static.rs:34:5
4 LL | want_hrtb::<StaticInt>() //~ ERROR `for<'a> StaticInt: Foo<&'a isize>` is not satisfied
5 | ^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a> Foo<&'a isize>` is not implemented for `StaticInt`
7 = help: the following implementations were found:
8 <StaticInt as Foo<&'static isize>>
9 note: required by `want_hrtb`
10 --> $DIR/hrtb-just-for-static.rs:18:1
12 LL | / fn want_hrtb<T>()
13 LL | | where T : for<'a> Foo<&'a isize>
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0277`.