]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/deriving-bounds.stderr
Rollup merge of #62096 - spastorino:impl-place-from, r=oli-obk,Centril
[rust.git] / src / test / ui / derives / deriving-bounds.stderr
1 error: cannot find derive macro `Send` in this scope
2   --> $DIR/deriving-bounds.rs:1:10
3    |
4 LL | #[derive(Send)]
5    |          ^^^^
6    |
7 note: unsafe traits like `Send` should be implemented explicitly
8   --> $DIR/deriving-bounds.rs:1:10
9    |
10 LL | #[derive(Send)]
11    |          ^^^^
12
13 error: cannot find derive macro `Sync` in this scope
14   --> $DIR/deriving-bounds.rs:5:10
15    |
16 LL | #[derive(Sync)]
17    |          ^^^^
18    |
19 note: unsafe traits like `Sync` should be implemented explicitly
20   --> $DIR/deriving-bounds.rs:5:10
21    |
22 LL | #[derive(Sync)]
23    |          ^^^^
24
25 error: aborting due to 2 previous errors
26