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