fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: overly complex generic constant 2 --> $DIR/issue-90318.rs:14:8 3 | 4LL | If<{ TypeId::of::<T>() != TypeId::of::<()>() }>: True, 5 | ^^-----------------^^^^^^^^^^^^^^^^^^^^^^^^ 6 | | 7 | borrowing is not supported in generic constants 8 | 9 = help: consider moving this anonymous constant into a `const` function 10 = note: this operation may be supported in the future 11 12error: overly complex generic constant 13 --> $DIR/issue-90318.rs:21:8 14 | 15LL | If<{ TypeId::of::<T>() != TypeId::of::<()>() }>: True, 16 | ^^-----------------^^^^^^^^^^^^^^^^^^^^^^^^ 17 | | 18 | borrowing is not supported in generic constants 19 | 20 = help: consider moving this anonymous constant into a `const` function 21 = note: this operation may be supported in the future 22 23error: aborting due to 2 previous errors 24