fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: any use of this value will cause an error 2 --> $DIR/dangling_raw_ptr.rs:1:1 3 | 4LL | / const FOO: *const u32 = { 5LL | | let x = 42; 6LL | | &x 7LL | | }; 8 | |__^ encountered dangling pointer in final constant 9 | 10 = note: `#[deny(const_err)]` on by default 11 12error: aborting due to previous error 13