File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ use hash::Hasher;
39
39
/// [arc]: ../../std/sync/struct.Arc.html
40
40
/// [ub]: ../../reference/behavior-considered-undefined.html
41
41
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
42
- #[ lang = "send" ]
42
+ #[ cfg_attr ( stage0 , lang = "send" ) ]
43
43
#[ rustc_on_unimplemented = "`{Self}` cannot be sent between threads safely" ]
44
44
pub unsafe trait Send {
45
45
// empty.
Original file line number Diff line number Diff line change @@ -228,7 +228,6 @@ language_item_table! {
228
228
F32ImplItem , "f32" , f32_impl;
229
229
F64ImplItem , "f64" , f64_impl;
230
230
231
- SendTraitLangItem , "send" , send_trait;
232
231
SizedTraitLangItem , "sized" , sized_trait;
233
232
UnsizeTraitLangItem , "unsize" , unsize_trait;
234
233
CopyTraitLangItem , "copy" , copy_trait;
You can’t perform that action at this time.
0 commit comments