]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/macros-in-extern-derive.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / proc-macro / macros-in-extern-derive.rs
1 extern "C" {
2     #[derive(Copy)] //~ ERROR `derive` may only be applied to `struct`s, `enum`s and `union`s
3     fn f();
4 }
5
6 fn main() {}