fix compile-fail test

This commit is contained in:
Esteban Küber 2019-10-10 19:20:51 -07:00
parent 58c6591cde
commit 88e4e2a208

View File

@ -25,6 +25,7 @@ impl<T> Bar for Option<T> {
impl Bar for f32 {
//~^ ERROR the trait bound `f32: Foo` is not satisfied
type Item = f32;
//~^ ERROR the trait bound `f32: Foo` is not satisfied
}
trait Baz<U: ?Sized> where U: Foo { }