]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/generic-associated-types/missing-where-clause-on-trait.stderr
Change syntax for TyAlias where clauses
[rust.git] / src / test / ui / generic-associated-types / missing-where-clause-on-trait.stderr
index 0e183c8d69a4c0e6a531ba034b7bddfef4036156..9e0896127a8a3e11aeb4ccc8007581c432cbf9f3 100644 (file)
@@ -4,7 +4,7 @@ error: `impl` associated type signature for `Assoc` doesn't match `trait` associ
 LL |     type Assoc<'a, 'b>;
    |     ------------------- expected
 ...
-LL |     type Assoc<'a, 'b> where 'a: 'b = ();
+LL |     type Assoc<'a, 'b> = () where 'a: 'b;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ found
 
 error: aborting due to previous error