fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1warning: skipping const checks 2 --> $DIR/const-points-to-static.rs:5:20 3 | 4LL | const TEST: &u8 = &MY_STATIC; 5 | ^^^^^^^^^ 6 7error[E0080]: it is undefined behavior to use this value 8 --> $DIR/const-points-to-static.rs:5:1 9 | 10LL | const TEST: &u8 = &MY_STATIC; 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constant accesses static 12 | 13 = note: The rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior. 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0080`.