We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
send
1 parent f46f388 commit 7995f87Copy full SHA for 7995f87
src/libcore/marker.rs
@@ -39,7 +39,7 @@ use hash::Hasher;
39
/// [arc]: ../../std/sync/struct.Arc.html
40
/// [ub]: ../../reference/behavior-considered-undefined.html
41
#[stable(feature = "rust1", since = "1.0.0")]
42
-#[lang = "send"]
+#[cfg_attr(stage0, lang = "send")]
43
#[rustc_on_unimplemented = "`{Self}` cannot be sent between threads safely"]
44
pub unsafe trait Send {
45
// empty.
src/librustc/middle/lang_items.rs
@@ -228,7 +228,6 @@ language_item_table! {
228
F32ImplItem, "f32", f32_impl;
229
F64ImplItem, "f64", f64_impl;
230
231
- SendTraitLangItem, "send", send_trait;
232
SizedTraitLangItem, "sized", sized_trait;
233
UnsizeTraitLangItem, "unsize", unsize_trait;
234
CopyTraitLangItem, "copy", copy_trait;
0 commit comments