rust/src/test/ui/derives/deriving-bounds.stderr

27 lines
610 B
Plaintext
Raw Normal View History

error: cannot find derive macro `Send` in this scope
--> $DIR/deriving-bounds.rs:1:10
|
LL | #[derive(Send)]
| ^^^^
|
note: unsafe traits like `Send` should be implemented explicitly
2018-12-25 09:56:47 -06:00
--> $DIR/deriving-bounds.rs:1:10
2018-08-08 07:28:26 -05:00
|
LL | #[derive(Send)]
| ^^^^
error: cannot find derive macro `Sync` in this scope
--> $DIR/deriving-bounds.rs:5:10
|
LL | #[derive(Sync)]
| ^^^^
|
note: unsafe traits like `Sync` should be implemented explicitly
2018-12-25 09:56:47 -06:00
--> $DIR/deriving-bounds.rs:5:10
2018-08-08 07:28:26 -05:00
|
LL | #[derive(Sync)]
| ^^^^
error: aborting due to 2 previous errors