fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0658]: casting pointers to integers in constants is unstable 2 --> $DIR/cast-ptr-to-int-const.rs:5:9 3 | 4LL | main as u32 5 | ^^^^^^^^^^^ 6 | 7 = note: see issue #51910 <https://github.com/rust-lang/rust/issues/51910> for more information 8 = help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable 9 10error[E0658]: casting pointers to integers in constants is unstable 11 --> $DIR/cast-ptr-to-int-const.rs:9:9 12 | 13LL | &Y as *const u32 as u32 14 | ^^^^^^^^^^^^^^^^^^^^^^^ 15 | 16 = note: see issue #51910 <https://github.com/rust-lang/rust/issues/51910> for more information 17 = help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0658`.