We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0540f6 commit 8541179Copy full SHA for 8541179
core/src/marker.rs
@@ -30,7 +30,8 @@ use crate::hash::Hasher;
30
/// [arc]: ../../std/sync/struct.Arc.html
31
/// [ub]: ../../reference/behavior-considered-undefined.html
32
#[stable(feature = "rust1", since = "1.0.0")]
33
-#[cfg_attr(not(test), rustc_diagnostic_item = "Send")]
+#[cfg_attr(all(not(test), bootstrap), rustc_diagnostic_item = "send_trait")]
34
+#[cfg_attr(all(not(test), not(bootstrap)), rustc_diagnostic_item = "Send")]
35
#[rustc_on_unimplemented(
36
message = "`{Self}` cannot be sent between threads safely",
37
label = "`{Self}` cannot be sent between threads safely"
0 commit comments