]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-47206-where-clause.stderr
Rollup merge of #102954 - GuillaumeGomez:cfg-hide-attr-checks, r=Manishearth
[rust.git] / src / test / ui / generic-associated-types / issue-47206-where-clause.stderr
1 error[E0276]: impl has stricter requirements than trait
2   --> $DIR/issue-47206-where-clause.rs:10:38
3    |
4 LL |     type Assoc3<T>;
5    |     -------------- definition of `Assoc3` from trait
6 ...
7 LL |     type Assoc3<T> = Vec<T> where T: Iterator;
8    |                                      ^^^^^^^^ impl has extra requirement `T: Iterator`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0276`.