mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 04:22:36 +00:00
10 lines
202 B
Rust
10 lines
202 B
Rust
#![derive(Clone, Copy)] //~ ERROR `derive` attribute cannot be used at crate level
|
|
|
|
use std::ptr::addr_of;
|
|
|
|
const UNINHABITED_VARIANT: () = unsafe {
|
|
let v = *addr_of!(data).cast();
|
|
};
|
|
|
|
fn main() {}
|