X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fgeneric-associated-types%2Fgat-in-trait-path.rs;h=7bbcf950ae183c20f7b6c6adda8296ebdf18a955;hb=c20b4f558440c24e8ef84782a71163fe236d72de;hp=fb03a86e169715df91c5d4bcaae07a096c4f359b;hpb=016612dc8d9ed850a066bccd42e4d6f7816f0484;p=rust.git diff --git a/src/test/ui/generic-associated-types/gat-in-trait-path.rs b/src/test/ui/generic-associated-types/gat-in-trait-path.rs index fb03a86e169..7bbcf950ae1 100644 --- a/src/test/ui/generic-associated-types/gat-in-trait-path.rs +++ b/src/test/ui/generic-associated-types/gat-in-trait-path.rs @@ -15,7 +15,7 @@ impl Foo for Fooy { struct Fooer(T); impl Foo for Fooer { - type A<'x> where T: 'x = &'x (); + type A<'x> = &'x () where T: 'x; } fn f(_arg : Box Foo = &'a ()>>) {}