1 error[E0277]: the trait bound `{float}: Foo` is not satisfied
2 --> $DIR/type_wf.rs:18:13
5 | ^ the trait `Foo` is not implemented for `{float}`
7 = help: the following implementations were found:
9 note: required by a bound in `S`
10 --> $DIR/type_wf.rs:6:13
12 LL | struct S<T: Foo> {
13 | ^^^ required by this bound in `S`
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0277`.