]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/miri_unleashed/non_const_fn.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / consts / miri_unleashed / non_const_fn.stderr
CommitLineData
f9f354fc 1error[E0080]: could not evaluate static initializer
2b03887a 2 --> $DIR/non_const_fn.rs:7:16
e74abb32 3 |
f9f354fc
XL
4LL | static C: () = foo();
5 | ^^^^^ calling non-const function `foo`
e74abb32 6
f9f354fc 7warning: skipping const checks
dfeec247 8 |
f9f354fc 9help: skipping check that does not even have a feature gate
2b03887a 10 --> $DIR/non_const_fn.rs:7:16
e74abb32 11 |
f9f354fc
XL
12LL | static C: () = foo();
13 | ^^^^^
e74abb32 14
f9f354fc 15error: aborting due to previous error; 1 warning emitted
e74abb32
XL
16
17For more information about this error, try `rustc --explain E0080`.