File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1151,8 +1151,10 @@ symbols! {
11511151 profiler_runtime,
11521152 ptr,
11531153 ptr_cast_mut,
1154+ ptr_const_is_null,
11541155 ptr_from_ref,
11551156 ptr_guaranteed_cmp,
1157+ ptr_is_null,
11561158 ptr_mask,
11571159 ptr_null,
11581160 ptr_null_mut,
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ impl<T: ?Sized> *const T {
3030 /// ```
3131 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
3232 #[ rustc_const_unstable( feature = "const_ptr_is_null" , issue = "74939" ) ]
33+ #[ rustc_diagnostic_item = "ptr_const_is_null" ]
3334 #[ inline]
3435 pub const fn is_null ( self ) -> bool {
3536 #[ inline]
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ impl<T: ?Sized> *mut T {
2929 /// ```
3030 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
3131 #[ rustc_const_unstable( feature = "const_ptr_is_null" , issue = "74939" ) ]
32+ #[ rustc_diagnostic_item = "ptr_is_null" ]
3233 #[ inline]
3334 pub const fn is_null ( self ) -> bool {
3435 #[ inline]
You can’t perform that action at this time.
0 commit comments