fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0391]: cycle detected when normalizing `<() as Tr>::A` 2 | 3note: ...which requires const-evaluating + checking `Tr::A`... 4 --> $DIR/defaults-cyclic-fail.rs:6:5 5 | 6LL | const A: u8 = Self::B; 7 | ^^^^^^^^^^^^^^^^^^^^^^ 8note: ...which requires const-evaluating + checking `Tr::A`... 9 --> $DIR/defaults-cyclic-fail.rs:6:5 10 | 11LL | const A: u8 = Self::B; 12 | ^^^^^^^^^^^^^^^^^^^^^^ 13note: ...which requires const-evaluating `Tr::A`... 14 --> $DIR/defaults-cyclic-fail.rs:6:5 15 | 16LL | const A: u8 = Self::B; 17 | ^^^^^^^^^^^^^^^^^^^^^^ 18 = note: ...which requires normalizing `<() as Tr>::B`... 19note: ...which requires const-evaluating + checking `Tr::B`... 20 --> $DIR/defaults-cyclic-fail.rs:8:5 21 | 22LL | const B: u8 = Self::A; 23 | ^^^^^^^^^^^^^^^^^^^^^^ 24note: ...which requires const-evaluating + checking `Tr::B`... 25 --> $DIR/defaults-cyclic-fail.rs:8:5 26 | 27LL | const B: u8 = Self::A; 28 | ^^^^^^^^^^^^^^^^^^^^^^ 29note: ...which requires const-evaluating `Tr::B`... 30 --> $DIR/defaults-cyclic-fail.rs:8:5 31 | 32LL | const B: u8 = Self::A; 33 | ^^^^^^^^^^^^^^^^^^^^^^ 34 = note: ...which again requires normalizing `<() as Tr>::A`, completing the cycle 35note: cycle used when const-evaluating `main` 36 --> $DIR/defaults-cyclic-fail.rs:14:1 37 | 38LL | fn main() { 39 | ^^^^^^^^^ 40 41error: aborting due to previous error 42 43For more information about this error, try `rustc --explain E0391`.