rust/tests/ui/derives/deriving-bounds.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
1.3 KiB
Plaintext
Raw Normal View History

error: cannot find derive macro `Sync` in this scope
2020-01-08 11:02:10 -06:00
--> $DIR/deriving-bounds.rs:6:10
|
LL | #[derive(Sync)]
| ^^^^
|
note: unsafe traits like `Sync` should be implemented explicitly
2020-01-08 11:02:10 -06:00
--> $DIR/deriving-bounds.rs:6:10
2018-08-08 07:28:26 -05:00
|
LL | #[derive(Sync)]
| ^^^^
2020-01-08 11:02:10 -06:00
error: cannot find derive macro `Sync` in this scope
--> $DIR/deriving-bounds.rs:6:10
|
LL | #[derive(Sync)]
| ^^^^
|
note: unsafe traits like `Sync` should be implemented explicitly
--> $DIR/deriving-bounds.rs:6:10
|
LL | #[derive(Sync)]
| ^^^^
2023-10-04 13:34:50 -05:00
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2020-01-08 11:02:10 -06:00
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
--> $DIR/deriving-bounds.rs:1:10
|
LL | #[derive(Send)]
| ^^^^
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
--> $DIR/deriving-bounds.rs:1:10
|
LL | #[derive(Send)]
| ^^^^
2023-10-04 13:34:50 -05:00
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2020-01-08 11:02:10 -06:00
error: aborting due to 4 previous errors
2018-08-08 07:28:26 -05:00