fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1warning: skipping const checks 2 --> $DIR/mutable_const2.rs:15:38 3 | 4LL | const MUTABLE_BEHIND_RAW: *mut i32 = &UnsafeCell::new(42) as *const _ as *mut _; 5 | ^^^^^^^^^^^^^^^^^^^^ 6 7error: internal compiler error: mutable allocation in constant 8 --> $DIR/mutable_const2.rs:15:1 9 | 10LL | const MUTABLE_BEHIND_RAW: *mut i32 = &UnsafeCell::new(42) as *const _ as *mut _; 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13thread 'rustc' panicked at 'no errors encountered even though `delay_span_bug` issued', src/librustc_errors/lib.rs:355:17 14note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace 15 16error: internal compiler error: unexpected panic 17 18note: the compiler unexpectedly panicked. this is a bug. 19 20note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports 21 22note: rustc VERSION running on TARGET 23 24note: compiler flags: FLAGS 25