]> git.proxmox.com Git - rustc.git/blame - src/test/ui/no_share-struct.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / no_share-struct.stderr
CommitLineData
8faf50e0 1error[E0277]: `Foo` cannot be shared between threads safely
e1599b0c 2 --> $DIR/no_share-struct.rs:12:9
8faf50e0 3 |
e1599b0c 4LL | fn bar<T: Sync>(_: T) {}
72b1a166 5 | ---- required by this bound in `bar`
e1599b0c 6...
b7449926 7LL | bar(x);
e1599b0c 8 | ^ `Foo` cannot be shared between threads safely
8faf50e0 9 |
72b1a166 10 = help: the trait `Sync` is not implemented for `Foo`
8faf50e0
XL
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0277`.