File tree 3 files changed +4
-0
lines changed
3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1151,8 +1151,10 @@ symbols! {
1151
1151
profiler_runtime,
1152
1152
ptr,
1153
1153
ptr_cast_mut,
1154
+ ptr_const_is_null,
1154
1155
ptr_from_ref,
1155
1156
ptr_guaranteed_cmp,
1157
+ ptr_is_null,
1156
1158
ptr_mask,
1157
1159
ptr_null,
1158
1160
ptr_null_mut,
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ impl<T: ?Sized> *const T {
30
30
/// ```
31
31
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
32
32
#[ rustc_const_unstable( feature = "const_ptr_is_null" , issue = "74939" ) ]
33
+ #[ rustc_diagnostic_item = "ptr_const_is_null" ]
33
34
#[ inline]
34
35
pub const fn is_null ( self ) -> bool {
35
36
#[ inline]
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ impl<T: ?Sized> *mut T {
29
29
/// ```
30
30
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
31
31
#[ rustc_const_unstable( feature = "const_ptr_is_null" , issue = "74939" ) ]
32
+ #[ rustc_diagnostic_item = "ptr_is_null" ]
32
33
#[ inline]
33
34
pub const fn is_null ( self ) -> bool {
34
35
#[ inline]
You can’t perform that action at this time.
0 commit comments