fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
568 B16 linesraw
1error[E0277]: `Rc<i8>` cannot be sent between threads safely
2  --> $DIR/builtin-superkinds-simple.rs:6:14
3   |
4LL | 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>`
8note: required by a bound in `Foo`
9  --> $DIR/builtin-superkinds-simple.rs:4:13
10   |
11LL | trait Foo : Send { }
12   |             ^^^^ required by this bound in `Foo`
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0277`.