]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0277]: `Foo` cannot be shared between threads safely |
e1599b0c | 2 | --> $DIR/no_share-struct.rs:12:9 |
8faf50e0 | 3 | | |
e1599b0c | 4 | LL | fn bar<T: Sync>(_: T) {} |
72b1a166 | 5 | | ---- required by this bound in `bar` |
e1599b0c | 6 | ... |
b7449926 | 7 | LL | 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 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0277`. |