fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
633 B14 linesraw
1error[E0277]: `T` cannot be sent between threads safely
2  --> $DIR/builtin-superkinds-in-metadata.rs:13:23
3   |
4LL | impl <T:Sync+'static> RequiresRequiresShareAndSend for X<T> { }
5   |       --              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `T` cannot be sent between threads safely
6   |       |
7   |       help: consider further restricting this bound: `T: std::marker::Send +`
8   |
9   = help: within `X<T>`, the trait `std::marker::Send` is not implemented for `T`
10   = note: required because it appears within the type `X<T>`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0277`.