summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/missing-where-clause-on-trait.stderr
blob: edd1f9367d129f7971de9b3481415e1cc4d4c249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0276]: impl has stricter requirements than trait
  --> $DIR/missing-where-clause-on-trait.rs:9:39
   |
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 previous error

For more information about this error, try `rustc --explain E0276`.