mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 21:17:39 +00:00
8 lines
149 B
Rust
8 lines
149 B
Rust
![]() |
#![allow(incomplete_features)]
|
||
|
#![feature(unsafe_fields)]
|
||
|
|
||
|
pub struct WithUnsafeField {
|
||
|
pub unsafe unsafe_field: u32,
|
||
|
pub safe_field: u32,
|
||
|
}
|