1 error[E0277]: the size for values of type `str` cannot be known at compilation time
2 --> $DIR/impl_wf.rs:11:6
4 LL | trait Foo: Sized { }
5 | ----- required by this bound in `Foo`
7 LL | impl Foo for str { }
8 | ^^^ doesn't have a size known at compile-time
10 = help: the trait `std::marker::Sized` is not implemented for `str`
12 error[E0277]: the trait bound `f32: Foo` is not satisfied
13 --> $DIR/impl_wf.rs:27:17
16 | --- required by a bound in this
18 | --- required by this bound in `Bar`
21 | ^^^ the trait `Foo` is not implemented for `f32`
23 error[E0277]: the trait bound `f32: Foo` is not satisfied
24 --> $DIR/impl_wf.rs:35:6
26 LL | trait Baz<U: ?Sized> where U: Foo { }
27 | --- required by this bound in `Baz`
29 LL | impl Baz<f32> for f32 { }
30 | ^^^^^^^^ the trait `Foo` is not implemented for `f32`
32 error: aborting due to 3 previous errors
34 For more information about this error, try `rustc --explain E0277`.