]> git.lizzy.rs Git - rust.git/blob - tests/ui/builtin-superkinds/builtin-superkinds-simple.stderr
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[rust.git] / tests / ui / builtin-superkinds / builtin-superkinds-simple.stderr
1 error[E0277]: `Rc<i8>` cannot be sent between threads safely
2   --> $DIR/builtin-superkinds-simple.rs:6:14
3    |
4 LL | impl Foo for std::rc::Rc<i8> { }
5    |              ^^^^^^^^^^^^^^^ `Rc<i8>` cannot be sent between threads safely
6    |
7    = help: the trait `Send` is not implemented for `Rc<i8>`
8 note: required by a bound in `Foo`
9   --> $DIR/builtin-superkinds-simple.rs:4:13
10    |
11 LL | trait Foo : Send { }
12    |             ^^^^ required by this bound in `Foo`
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.