blob: 81cf3ae6e83b67057cd786b7ca6661a70bdf659e [file] [log] [blame]
pub trait Foo {
type Type;
}
pub struct Bar<T>(<Self as Foo>::Type) where Self: ;
//~^ ERROR the trait bound `Bar<T>: Foo` is not satisfied
fn main() {}