diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-05-26 08:27:47 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-05-26 08:27:47 +0000 |
| commit | b3415291a606e994dea56f6ea68d53b847ce1f29 (patch) | |
| tree | 5c90567fe192125965768e81f4854e1d14ff9db4 /example | |
| parent | 35acd910bb8869ead179b81104010c0179cde0b9 (diff) | |
| download | rust-b3415291a606e994dea56f6ea68d53b847ce1f29.tar.gz rust-b3415291a606e994dea56f6ea68d53b847ce1f29.zip | |
Rustup to rustc 1.71.0-nightly (a2b1646c5 2023-05-25)
Diffstat (limited to 'example')
| -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 d9ce2d6dfa7..772dd98fade 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -502,6 +502,9 @@ pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) { drop_in_place(to_drop); } +#[lang = "unpin"] +pub auto trait Unpin {} + #[lang = "deref"] pub trait Deref { type Target: ?Sized; |
