fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
541 B17 linesraw
1error[E0080]: evaluation of constant value failed
2  --> $DIR/const-prop-read-static-in-const.rs:5:18
3   |
4LL | const TEST: u8 = MY_STATIC;
5   |                  ^^^^^^^^^ constant accesses static
6
7warning: skipping const checks
8   |
9help: skipping check that does not even have a feature gate
10  --> $DIR/const-prop-read-static-in-const.rs:5:18
11   |
12LL | const TEST: u8 = MY_STATIC;
13   |                  ^^^^^^^^^
14
15error: aborting due to previous error; 1 warning emitted
16
17For more information about this error, try `rustc --explain E0080`.