]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-47206-where-clause.stderr
Rollup merge of #82308 - estebank:issue-82290, r=lcnr
[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:13:5
3    |
4 LL |     type Assoc3<T>;
5    |     --------------- definition of `Assoc3` from trait
6 ...
7 LL |     type Assoc3<T> where T: Iterator = Vec<T>;
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`.