2022-09-21 06:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2019-12-16 08:23:42 -06:00
|
|
|
--> $DIR/const-prop-read-static-in-const.rs:5:18
|
|
|
|
|
|
|
|
|
LL | const TEST: u8 = MY_STATIC;
|
2022-09-21 06:05:20 -05:00
|
|
|
| ^^^^^^^^^ constant accesses static
|
2019-12-16 08:23:42 -06:00
|
|
|
|
2020-05-03 07:23:08 -05: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;
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error; 1 warning emitted
|
2019-12-16 08:23:42 -06:00
|
|
|
|
2022-09-21 06:05:20 -05:00
|
|
|
For more information about this error, try `rustc --explain E0080`.
|