]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | error[E0277]: `Rc<i8>` cannot be sent between threads safely |
0731742a | 2 | --> $DIR/builtin-superkinds-simple.rs:6:6 |
b7449926 | 3 | | |
ba9703b0 XL |
4 | LL | trait Foo : Send { } |
5 | | ---- required by this bound in `Foo` | |
6 | LL | | |
b7449926 | 7 | LL | impl Foo for std::rc::Rc<i8> { } |
1b1a35ee | 8 | | ^^^ `Rc<i8>` cannot be sent between threads safely |
b7449926 | 9 | | |
1b1a35ee | 10 | = help: the trait `Send` is not implemented for `Rc<i8>` |
b7449926 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0277`. |