mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
12 lines
306 B
Rust
12 lines
306 B
Rust
#[derive(Send)]
|
|
//~^ ERROR cannot find derive macro `Send` in this scope
|
|
//~| ERROR cannot find derive macro `Send` in this scope
|
|
struct Test;
|
|
|
|
#[derive(Sync)]
|
|
//~^ ERROR cannot find derive macro `Sync` in this scope
|
|
//~| ERROR cannot find derive macro `Sync` in this scope
|
|
struct Test1;
|
|
|
|
pub fn main() {}
|