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