fix compile-fail test
This commit is contained in:
parent
58c6591cde
commit
88e4e2a208
@ -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 { }
|
||||
|
Loading…
x
Reference in New Issue
Block a user