]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cycle-projection-based-on-where-clause.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / cycle-projection-based-on-where-clause.stderr
1 error[E0391]: cycle detected when computing the bounds for type parameter `T`
2   --> $DIR/cycle-projection-based-on-where-clause.rs:27:19
3    |
4 LL |           T : Add<T::Item>
5    |                   ^^^^^^^
6    |
7    = note: ...which again requires computing the bounds for type parameter `T`, completing the cycle
8 note: cycle used when processing `A`
9   --> $DIR/cycle-projection-based-on-where-clause.rs:27:19
10    |
11 LL |           T : Add<T::Item>
12    |                   ^^^^^^^
13
14 error[E0220]: associated type `Item` not found for `T`
15   --> $DIR/cycle-projection-based-on-where-clause.rs:27:19
16    |
17 LL |           T : Add<T::Item>
18    |                   ^^^^^^^ associated type `Item` not found
19
20 error: aborting due to 2 previous errors
21
22 Some errors occurred: E0220, E0391.
23 For more information about an error, try `rustc --explain E0220`.