2019-09-13 12:40:43 +00:00
|
|
|
warning: skipping const checks
|
2020-04-29 07:53:22 +00:00
|
|
|
--> $DIR/const-prop-read-static-in-const.rs:5:1
|
2019-09-13 12:40:43 +00:00
|
|
|
|
|
|
|
|
LL | const TEST: u8 = MY_STATIC;
|
2020-04-29 07:53:22 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2019-09-13 12:40:43 +00:00
|
|
|
|
2019-12-16 14:23:42 +00:00
|
|
|
error: any use of this value will cause an error
|
|
|
|
--> $DIR/const-prop-read-static-in-const.rs:5:18
|
|
|
|
|
|
|
|
|
LL | const TEST: u8 = MY_STATIC;
|
|
|
|
| -----------------^^^^^^^^^-
|
|
|
|
| |
|
2019-12-22 20:40:00 +00:00
|
|
|
| constant accesses static
|
2019-12-16 14:23:42 +00:00
|
|
|
|
|
|
|
|
= note: `#[deny(const_err)]` on by default
|
|
|
|
|
2020-03-11 15:30:09 +00:00
|
|
|
error: aborting due to previous error; 1 warning emitted
|
2019-12-16 14:23:42 +00:00
|
|
|
|