fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0080]: could not evaluate static initializer 2 --> $DIR/non_const_fn.rs:7:16 3 | 4LL | static C: () = foo(); 5 | ^^^^^ calling non-const function `foo` 6 7warning: skipping const checks 8 | 9help: skipping check that does not even have a feature gate 10 --> $DIR/non_const_fn.rs:7:16 11 | 12LL | static C: () = foo(); 13 | ^^^^^ 14 15error: aborting due to previous error; 1 warning emitted 16 17For more information about this error, try `rustc --explain E0080`.