fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
509 B13 linesraw
1error[E0277]: `T` cannot be sent between threads safely
2  --> $DIR/builtin-superkinds-typaram-not-send.rs:5:24
3   |
4LL | impl <T: Sync+'static> Foo for T { }
5   |       --               ^^^ `T` cannot be sent between threads safely
6   |       |
7   |       help: consider further restricting this bound: `T: std::marker::Send +`
8   |
9   = help: the trait `std::marker::Send` is not implemented for `T`
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0277`.