X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fgeneric-associated-types%2Fmissing-where-clause-on-trait.rs;h=5fb8f7a4773d68a583015ffe71284b14a15ed32c;hb=c20b4f558440c24e8ef84782a71163fe236d72de;hp=ad9f2e3e4ec4a8273d8248c7d7ec43c0d6b6e79c;hpb=175b8db73bfd078b4bcd3c28c8d6f51d5895ebf3;p=rust.git diff --git a/src/test/ui/generic-associated-types/missing-where-clause-on-trait.rs b/src/test/ui/generic-associated-types/missing-where-clause-on-trait.rs index ad9f2e3e4ec..5fb8f7a4773 100644 --- a/src/test/ui/generic-associated-types/missing-where-clause-on-trait.rs +++ b/src/test/ui/generic-associated-types/missing-where-clause-on-trait.rs @@ -6,7 +6,7 @@ trait Foo { type Assoc<'a, 'b>; } impl Foo for () { - type Assoc<'a, 'b> where 'a: 'b = (); + type Assoc<'a, 'b> = () where 'a: 'b; //~^ `impl` associated type }