@@ -9,6 +9,7 @@ macro_rules! forward_ref_unop {
9
9
forward_ref_unop!( impl const $imp, $method for $t,
10
10
#[ stable( feature = "rust1" , since = "1.0.0" ) ] ) ;
11
11
} ;
12
+ // Equivalent to the non-const version, with the addition of `rustc_const_unstable`
12
13
( impl const $imp: ident, $method: ident for $t: ty, #[ $attr: meta] ) => {
13
14
#[ $attr]
14
15
#[ rustc_const_unstable( feature = "const_ops" , issue = "90080" ) ]
@@ -45,6 +46,7 @@ macro_rules! forward_ref_binop {
45
46
forward_ref_binop!( impl const $imp, $method for $t, $u,
46
47
#[ stable( feature = "rust1" , since = "1.0.0" ) ] ) ;
47
48
} ;
49
+ // Equivalent to the non-const version, with the addition of `rustc_const_unstable`
48
50
( impl const $imp: ident, $method: ident for $t: ty, $u: ty, #[ $attr: meta] ) => {
49
51
#[ $attr]
50
52
#[ rustc_const_unstable( feature = "const_ops" , issue = "90080" ) ]
@@ -123,6 +125,7 @@ macro_rules! forward_ref_op_assign {
123
125
forward_ref_op_assign!( impl const $imp, $method for $t, $u,
124
126
#[ stable( feature = "op_assign_builtins_by_ref" , since = "1.22.0" ) ] ) ;
125
127
} ;
128
+ // Equivalent to the non-const version, with the addition of `rustc_const_unstable`
126
129
( impl const $imp: ident, $method: ident for $t: ty, $u: ty, #[ $attr: meta] ) => {
127
130
#[ $attr]
128
131
#[ rustc_const_unstable( feature = "const_ops" , issue = "90080" ) ]
0 commit comments