blob: 5354421f4b9b77d12948add78b56e35fd25cc9ee [file] [log] [blame]
//@ check-fail
trait Foo {
type Assoc<'a, 'b>;
}
impl Foo for () {
type Assoc<'a, 'b> = () where 'a: 'b;
//~^ ERROR impl has stricter requirements than trait
}
fn main() {}