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

8 lines
201 B
Rust
Raw Normal View History

2016-05-23 10:16:49 +00:00
#[derive(Clone,
Sync, //~ ERROR cannot find derive macro `Sync` in this scope
2020-01-08 17:02:10 +00:00
//~| ERROR cannot find derive macro `Sync` in this scope
2016-05-23 10:16:49 +00:00
Copy)]
enum Foo {}
fn main() {}