rust/tests/ui/issues/issue-33571.rs

8 lines
201 B
Rust

#[derive(Clone,
Sync, //~ ERROR cannot find derive macro `Sync` in this scope
//~| ERROR cannot find derive macro `Sync` in this scope
Copy)]
enum Foo {}
fn main() {}