diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2022-03-26 14:12:44 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-03-26 14:12:44 +0100 |
| commit | 6faa6a28ba165ff225a4865604189f0b681cbd47 (patch) | |
| tree | 53916ca4bc711e82e582a3f8a0c28e08c11f8ade /example | |
| parent | db591778ac3c93285fec6a5b7332b218131ccf94 (diff) | |
| download | rust-6faa6a28ba165ff225a4865604189f0b681cbd47.tar.gz rust-6faa6a28ba165ff225a4865604189f0b681cbd47.zip | |
Rustup to rustc 1.61.0-nightly (d53246fed 2022-03-25)
Diffstat (limited to 'example')
| -rw-r--r-- | example/mini_core.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/example/mini_core.rs b/example/mini_core.rs index d70df905160..a8435287d9f 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -14,6 +14,9 @@ unsafe extern "C" fn _Unwind_Resume() { #[lang = "sized"] pub trait Sized {} +#[lang = "destruct"] +pub trait Destruct {} + #[lang = "unsize"] pub trait Unsize<T: ?Sized> {} @@ -59,6 +62,7 @@ unsafe impl Copy for i16 {} unsafe impl Copy for i32 {} unsafe impl Copy for isize {} unsafe impl Copy for f32 {} +unsafe impl Copy for f64 {} unsafe impl Copy for char {} unsafe impl<'a, T: ?Sized> Copy for &'a T {} unsafe impl<T: ?Sized> Copy for *const T {} |
