summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/issue-47206-where-clause.stderr
blob: 31948a878edfaa812e4ea90f2101678c8e713261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0276]: impl has stricter requirements than trait
  --> $DIR/issue-47206-where-clause.rs:12:38
   |
LL |     type Assoc3<T>;
   |     -------------- definition of `Assoc3` from trait
...
LL |     type Assoc3<T> = Vec<T> where T: Iterator;
   |                                      ^^^^^^^^ impl has extra requirement `T: Iterator`

error: aborting due to previous error

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