]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/macros-in-extern-derive.rs
Rollup merge of #87081 - a1phyr:add_wasi_ext_tracking_issue, r=dtolnay
[rust.git] / src / test / ui / proc-macro / macros-in-extern-derive.rs
1 extern "C" {
2     #[derive(Copy)] //~ ERROR `derive` may only be applied to structs, enums and unions
3     fn f();
4 }
5
6 fn main() {}