]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/generic-associated-types/missing-where-clause-on-trait.stderr
Fix duplicate error
[rust.git] / src / test / ui / generic-associated-types / missing-where-clause-on-trait.stderr
index d58209950025625e6ae28f5e6a228fe72f7ad968..0e183c8d69a4c0e6a531ba034b7bddfef4036156 100644 (file)
@@ -7,15 +7,5 @@ LL |     type Assoc<'a, 'b>;
 LL |     type Assoc<'a, 'b> where 'a: 'b = ();
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ found
 
-error[E0276]: impl has stricter requirements than trait
-  --> $DIR/missing-where-clause-on-trait.rs:9:5
-   |
-LL |     type Assoc<'a, 'b>;
-   |     ------------------- definition of `Assoc` from trait
-...
-LL |     type Assoc<'a, 'b> where 'a: 'b = ();
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `'a: 'b`
-
-error: aborting due to 2 previous errors
+error: aborting due to previous error
 
-For more information about this error, try `rustc --explain E0276`.