about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorRoxane <roxane.fruytier@hotmail.com>2021-04-08 19:09:08 -0400
committerRoxane <roxane.fruytier@hotmail.com>2021-05-06 14:17:59 -0400
commit9afea614bfbbc3dfb0b87861bdbf1e69a78db897 (patch)
tree12da27dba5739a0185c2b642bf17a6d6a1223956 /library/core/src
parent109248a4eb99bc83684c94ca4ef36f2fadc17e2a (diff)
downloadrust-9afea614bfbbc3dfb0b87861bdbf1e69a78db897.tar.gz
rust-9afea614bfbbc3dfb0b87861bdbf1e69a78db897.zip
Add additional migrations to handle auto-traits and clone traits
Combine all 2229 migrations under one flag name
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/marker.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/marker.rs b/library/core/src/marker.rs
index fb957348beb..2b240455043 100644
--- a/library/core/src/marker.rs
+++ b/library/core/src/marker.rs
@@ -31,6 +31,7 @@ use crate::hash::Hasher;
 /// [ub]: ../../reference/behavior-considered-undefined.html
 #[stable(feature = "rust1", since = "1.0.0")]
 #[cfg_attr(not(test), rustc_diagnostic_item = "send_trait")]
+#[cfg_attr(not(bootstrap), lang = "send")]
 #[rustc_on_unimplemented(
     message = "`{Self}` cannot be sent between threads safely",
     label = "`{Self}` cannot be sent between threads safely"