fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0080]: it is undefined behavior to use this value 2 --> $DIR/validate_never_arrays.rs:3:1 3 | 4LL | const FOO: &[!; 1] = unsafe { &*(1_usize as *const [!; 1]) }; 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type validation failed: encountered a value of an uninhabited type at .<deref> 6 | 7 = 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. 8 9error: aborting due to previous error 10 11For more information about this error, try `rustc --explain E0080`.