mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 06:43:20 +03:00
7 lines
165 B
Rust
7 lines
165 B
Rust
//@ only-64bit
|
|
|
|
#![feature(const_transmute)]
|
|
|
|
pub const ZST: &[u8] = unsafe { std::mem::transmute(1usize) };
|
|
//~^ ERROR transmuting from 8-byte type to 16-byte type
|