]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/generic-associated-types/missing-where-clause-on-trait.rs
Change syntax for TyAlias where clauses
[rust.git] / src / test / ui / generic-associated-types / missing-where-clause-on-trait.rs
index ad9f2e3e4ec4a8273d8248c7d7ec43c0d6b6e79c..5fb8f7a4773d68a583015ffe71284b14a15ed32c 100644 (file)
@@ -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
 }