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