File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -465,9 +465,13 @@ impl<T: ?Sized> Copy for &T {}
465
465
/// Notably, this doesn't include all trivially-destructible types for semver
466
466
/// reasons.
467
467
///
468
- /// Bikeshed name for now.
468
+ /// 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.
469
470
#[ unstable( feature = "bikeshed_guaranteed_no_drop" , issue = "none" ) ]
470
471
#[ lang = "bikeshed_guaranteed_no_drop" ]
472
+ #[ rustc_deny_explicit_impl]
473
+ #[ rustc_do_not_implement_via_object]
474
+ #[ doc( hidden) ]
471
475
pub trait BikeshedGuaranteedNoDrop { }
472
476
473
477
/// Types for which it is safe to share references between threads.
Original file line number Diff line number Diff line change @@ -193,7 +193,6 @@ impl<T: ?Sized> *const T {
193
193
/// This is an [Exposed Provenance][crate::ptr#exposed-provenance] API.
194
194
///
195
195
/// [`with_exposed_provenance`]: with_exposed_provenance
196
- #[ must_use]
197
196
#[ inline( always) ]
198
197
#[ stable( feature = "exposed_provenance" , since = "1.84.0" ) ]
199
198
pub fn expose_provenance ( self ) -> usize {
You can’t perform that action at this time.
0 commit comments