diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2020-07-16 09:12:59 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2020-07-16 19:36:49 -0400 |
| commit | 647d9b525fcda07695809b851b4d6bce05b34e61 (patch) | |
| tree | 843258ffe5efd9a1fa9edeade00e172785aaa4e9 /src/libcore/ptr | |
| parent | 6c50ae898b259ba2b4f730ed2e40d9efa3db221b (diff) | |
apply bootstrap cfgs
Diffstat (limited to 'src/libcore/ptr')
| -rw-r--r-- | src/libcore/ptr/const_ptr.rs | 2 | ||||
| -rw-r--r-- | src/libcore/ptr/mut_ptr.rs | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/libcore/ptr/const_ptr.rs b/src/libcore/ptr/const_ptr.rs index 39d4aca636a..896ad740e1e 100644 --- a/src/libcore/ptr/const_ptr.rs +++ b/src/libcore/ptr/const_ptr.rs @@ -324,7 +324,6 @@ impl<T: ?Sized> *const T { #[unstable(feature = "const_raw_ptr_comparison", issue = "53020")] #[rustc_const_unstable(feature = "const_raw_ptr_comparison", issue = "53020")] #[inline] - #[cfg(not(bootstrap))] pub const fn guaranteed_eq(self, other: *const T) -> bool where T: Sized, @@ -356,7 +355,6 @@ impl<T: ?Sized> *const T { #[unstable(feature = "const_raw_ptr_comparison", issue = "53020")] #[rustc_const_unstable(feature = "const_raw_ptr_comparison", issue = "53020")] #[inline] - #[cfg(not(bootstrap))] pub const fn guaranteed_ne(self, other: *const T) -> bool where T: Sized, diff --git a/src/libcore/ptr/mut_ptr.rs b/src/libcore/ptr/mut_ptr.rs index 644465d7d17..96856e7512c 100644 --- a/src/libcore/ptr/mut_ptr.rs +++ b/src/libcore/ptr/mut_ptr.rs @@ -305,7 +305,6 @@ impl<T: ?Sized> *mut T { #[unstable(feature = "const_raw_ptr_comparison", issue = "53020")] #[rustc_const_unstable(feature = "const_raw_ptr_comparison", issue = "53020")] #[inline] - #[cfg(not(bootstrap))] pub const fn guaranteed_eq(self, other: *mut T) -> bool where T: Sized, @@ -337,7 +336,6 @@ impl<T: ?Sized> *mut T { #[unstable(feature = "const_raw_ptr_comparison", issue = "53020")] #[rustc_const_unstable(feature = "const_raw_ptr_comparison", issue = "53020")] #[inline] - #[cfg(not(bootstrap))] pub const unsafe fn guaranteed_ne(self, other: *mut T) -> bool where T: Sized, |
