diff options
| author | Michael Goulet <michael@errs.io> | 2025-02-06 20:08:29 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-02-13 03:45:04 +0000 |
| commit | c6ddd335a833ebced8de60724b2ff94323a9c5ac (patch) | |
| tree | eff726f78dc9511d72d2176dcadab8100379e74d | |
| parent | 159080c92ec8afe5b88292decba447f099c8a75d (diff) | |
Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
| -rw-r--r-- | example/mini_core.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/example/mini_core.rs b/example/mini_core.rs index a0a381638c0..79820232496 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -57,6 +57,9 @@ impl<T: ?Sized> LegacyReceiver for Box<T> {} #[lang = "copy"] pub trait Copy {} +#[lang = "bikeshed_guaranteed_no_drop"] +pub trait BikeshedGuaranteedNoDrop {} + impl Copy for bool {} impl Copy for u8 {} impl Copy for u16 {} |
