Also mark derive helpers as known as a part of the derive container's expansion instead of expansion of the derives themselves which may happen too late.
5 lines
183 B
Rust
5 lines
183 B
Rust
#![derive(Copy)] //~ ERROR `derive` may only be applied to structs, enums and unions
|
|
//~| ERROR cannot determine resolution for the derive macro `Copy`
|
|
|
|
fn main() {}
|