fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0015]: cannot call non-const fn `regular_in_block` in constant functions 2 --> $DIR/const-extern-fn-call-extern-fn.rs:9:9 3 | 4LL | regular_in_block(); 5 | ^^^^^^^^^^^^^^^^^^ 6 | 7 = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants 8 9error[E0015]: cannot call non-const fn `regular` in constant functions 10 --> $DIR/const-extern-fn-call-extern-fn.rs:18:9 11 | 12LL | regular(); 13 | ^^^^^^^^^ 14 | 15 = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants 16 17error: aborting due to 2 previous errors 18 19For more information about this error, try `rustc --explain E0015`.