diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-07-22 00:54:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-22 00:54:30 +0800 |
| commit | 551cef9fc96ab4b2d0d82f788a13a3bcb41289bd (patch) | |
| tree | 17c31c19a800849db690909b4eab378af738e080 /library/core | |
| parent | 9e9399fcf885e2d15cbb2157459802f365428aaa (diff) | |
| parent | 1fd06975d0ea9d78d0b611ab292df7a121116501 (diff) | |
| download | rust-551cef9fc96ab4b2d0d82f788a13a3bcb41289bd.tar.gz rust-551cef9fc96ab4b2d0d82f788a13a3bcb41289bd.zip | |
Rollup merge of #144212 - bjorn3:remove_unique_lang_item, r=oli-obk
Remove the ptr_unique lang item Miri no longer uses it since https://github.com/rust-lang/miri/pull/4307.
Diffstat (limited to 'library/core')
| -rw-r--r-- | library/core/src/ptr/unique.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/core/src/ptr/unique.rs b/library/core/src/ptr/unique.rs index c069314ff7d..e9e13f9e97f 100644 --- a/library/core/src/ptr/unique.rs +++ b/library/core/src/ptr/unique.rs @@ -32,8 +32,6 @@ use crate::ptr::NonNull; )] #[doc(hidden)] #[repr(transparent)] -// Lang item used experimentally by Miri to define the semantics of `Unique`. -#[lang = "ptr_unique"] pub struct Unique<T: PointeeSized> { pointer: NonNull<T>, // NOTE: this marker has no consequences for variance, but is necessary |
