We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e7441f + 4c32adb commit c42866fCopy full SHA for c42866f
library/core/src/marker.rs
@@ -465,9 +465,13 @@ impl<T: ?Sized> Copy for &T {}
465
/// Notably, this doesn't include all trivially-destructible types for semver
466
/// reasons.
467
///
468
-/// Bikeshed name for now.
+/// Bikeshed name for now. This trait does not do anything other than reflect the
469
+/// set of types that are allowed within unions for field validity.
470
#[unstable(feature = "bikeshed_guaranteed_no_drop", issue = "none")]
471
#[lang = "bikeshed_guaranteed_no_drop"]
472
+#[rustc_deny_explicit_impl]
473
+#[rustc_do_not_implement_via_object]
474
+#[doc(hidden)]
475
pub trait BikeshedGuaranteedNoDrop {}
476
477
/// Types for which it is safe to share references between threads.
0 commit comments