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