mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 21:17:39 +00:00
7 lines
148 B
Rust
7 lines
148 B
Rust
![]() |
#![feature(unsafe_attributes)]
|
||
|
|
||
|
#[derive(unsafe(Debug))] //~ ERROR: traits in `#[derive(...)]` don't accept `unsafe(...)`
|
||
|
struct Foo;
|
||
|
|
||
|
fn main() {}
|