rust/tests/ui/const_prop/const-prop-read-static-in-const.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
541 B
Plaintext
Raw Normal View History

2022-09-21 11:05:20 +00:00
error[E0080]: evaluation of constant value failed
--> $DIR/const-prop-read-static-in-const.rs:5:18
|
LL | const TEST: u8 = MY_STATIC;
2022-09-21 11:05:20 +00:00
| ^^^^^^^^^ constant accesses static
2020-05-03 12:23:08 +00:00
warning: skipping const checks
|
help: skipping check that does not even have a feature gate
--> $DIR/const-prop-read-static-in-const.rs:5:18
|
LL | const TEST: u8 = MY_STATIC;
| ^^^^^^^^^
error: aborting due to previous error; 1 warning emitted
2022-09-21 11:05:20 +00:00
For more information about this error, try `rustc --explain E0080`.