]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cycle-projection-based-on-where-clause.stderr
Auto merge of #67000 - spastorino:remove-promoted-from-place, 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:17: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:17:19
10    |
11 LL |           T : Add<T::Item>
12    |                   ^^^^^^^
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0391`.