fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s 2 --> $DIR/macros-in-extern-derive.rs:2:5 3 | 4LL | #[derive(Copy)] 5 | ^^^^^^^^^^^^^^^ not applicable here 6LL | fn f(); 7 | ------- not a `struct`, `enum` or `union` 8 9error: aborting due to previous error 10 11For more information about this error, try `rustc --explain E0774`.