]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cycle-projection-based-on-where-clause.stderr
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[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 computing explicit predicates of `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`.