]> git.proxmox.com Git - rustc.git/blame - src/test/ui/extern/extern-types-not-sync-send.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / extern / extern-types-not-sync-send.stderr
CommitLineData
b7449926 1error[E0277]: `A` cannot be shared between threads safely
e1599b0c 2 --> $DIR/extern-types-not-sync-send.rs:13:19
b7449926
XL
3 |
4LL | assert_sync::<A>();
e1599b0c 5 | ^ `A` cannot be shared between threads safely
b7449926 6 |
1b1a35ee 7 = help: the trait `Sync` is not implemented for `A`
94222f64
XL
8note: required by a bound in `assert_sync`
9 --> $DIR/extern-types-not-sync-send.rs:9:28
10 |
11LL | fn assert_sync<T: ?Sized + Sync>() {}
12 | ^^^^ required by this bound in `assert_sync`
b7449926
XL
13
14error[E0277]: `A` cannot be sent between threads safely
e1599b0c 15 --> $DIR/extern-types-not-sync-send.rs:16:19
b7449926
XL
16 |
17LL | assert_send::<A>();
e1599b0c 18 | ^ `A` cannot be sent between threads safely
b7449926 19 |
1b1a35ee 20 = help: the trait `Send` is not implemented for `A`
94222f64
XL
21note: required by a bound in `assert_send`
22 --> $DIR/extern-types-not-sync-send.rs:10:28
23 |
24LL | fn assert_send<T: ?Sized + Send>() {}
25 | ^^^^ required by this bound in `assert_send`
b7449926
XL
26
27error: aborting due to 2 previous errors
28
29For more information about this error, try `rustc --explain E0277`.