rust/tests/ui/derives/deriving-meta-empty-trait-l...

9 lines
83 B
Rust

//@ check-pass
#![deny(unused)]
#[derive()] // OK
struct _Bar;
pub fn main() {}