fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

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