File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ pub trait Add<Rhs = Self> {
96
96
macro_rules! add_impl {
97
97
( $( $t: ty) * ) => ( $(
98
98
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
99
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "90080" ) ]
99
100
impl const Add for $t {
100
101
type Output = $t;
101
102
Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ pub trait Deref {
150
150
}
151
151
152
152
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
153
+ #[ rustc_const_unstable( feature = "const_deref" , issue = "88955" ) ]
153
154
impl < T : ?Sized > const Deref for & T {
154
155
type Target = T ;
155
156
@@ -163,6 +164,7 @@ impl<T: ?Sized> const Deref for &T {
163
164
impl < T : ?Sized > !DerefMut for & T { }
164
165
165
166
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
167
+ #[ rustc_const_unstable( feature = "const_deref" , issue = "88955" ) ]
166
168
impl < T : ?Sized > const Deref for & mut T {
167
169
type Target = T ;
168
170
@@ -273,6 +275,7 @@ pub trait DerefMut: ~const Deref {
273
275
}
274
276
275
277
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
278
+ #[ rustc_const_unstable( feature = "const_deref" , issue = "88955" ) ]
276
279
impl < T : ?Sized > const DerefMut for & mut T {
277
280
fn deref_mut ( & mut self ) -> & mut T {
278
281
* self
You can’t perform that action at this time.
0 commit comments