fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
574 B16 linesraw
1error[E0391]: cycle detected when computing the supertraits of `Expr`
2  --> $DIR/issue-22673.rs:1:1
3   |
4LL | trait Expr : PartialEq<Self::Item> {
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: ...which again requires computing the supertraits of `Expr`, completing the cycle
8note: cycle used when collecting item types in top-level module
9  --> $DIR/issue-22673.rs:1:1
10   |
11LL | trait Expr : PartialEq<Self::Item> {
12   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0391`.