fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
583 B16 linesraw
1error[E0391]: cycle detected when computing the bounds for type parameter `T`
2  --> $DIR/cycle-projection-based-on-where-clause.rs:17:19
3   |
4LL |           T : Add<T::Item>
5   |                   ^^^^^^^
6   |
7   = note: ...which again requires computing the bounds for type parameter `T`, completing the cycle
8note: cycle used when processing `A`
9  --> $DIR/cycle-projection-based-on-where-clause.rs:17:19
10   |
11LL |           T : Add<T::Item>
12   |                   ^^^^^^^
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0391`.