]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-47206-where-clause.stderr
Auto merge of #99612 - yanchen4791:issue-95079-fix, r=compiler-errors
[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:12: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`.