fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants 2 --> $DIR/issue-32829-2.rs:12:9 3 | 4LL | invalid(); 5 | ^^^^^^^^^ 6 7error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants 8 --> $DIR/issue-32829-2.rs:34:9 9 | 10LL | invalid(); 11 | ^^^^^^^^^ 12 13error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants 14 --> $DIR/issue-32829-2.rs:56:9 15 | 16LL | invalid(); 17 | ^^^^^^^^^ 18 19error: aborting due to 3 previous errors 20 21For more information about this error, try `rustc --explain E0015`.