fix compile-fail test
This commit is contained in:
parent
58c6591cde
commit
88e4e2a208
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue