We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33970db commit 8faac74Copy full SHA for 8faac74
compiler/rustc_span/src/symbol.rs
@@ -1159,7 +1159,6 @@ symbols! {
1159
ptr_cast,
1160
ptr_cast_mut,
1161
ptr_const_is_null,
1162
- ptr_from_mut,
1163
ptr_from_ref,
1164
ptr_guaranteed_cmp,
1165
ptr_is_null,
library/core/src/ptr/mod.rs
@@ -712,7 +712,6 @@ pub const fn from_ref<T: ?Sized>(r: &T) -> *const T {
712
#[must_use]
713
#[unstable(feature = "ptr_from_ref", issue = "106116")]
714
#[cfg_attr(not(bootstrap), rustc_never_returns_null_ptr)]
715
-#[rustc_diagnostic_item = "ptr_from_mut"]
716
pub const fn from_mut<T: ?Sized>(r: &mut T) -> *mut T {
717
r
718
}
0 commit comments