File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -160,9 +160,11 @@ macro_rules! __data_methods {
160
160
161
161
$( $rest: tt) *
162
162
) => {
163
+ #[ allow( unused_mut) ]
163
164
let mut method_data = $data. methods. entry( "init" . to_string( ) ) . or_default( ) ;
164
165
method_data. unsafe_ = false ;
165
166
167
+ #[ allow( unused_mut) ]
166
168
let mut method_data = $data. methods. entry( "new" . to_string( ) ) . or_default( ) ;
167
169
method_data. unsafe_ = false ;
168
170
@@ -195,6 +197,7 @@ macro_rules! __data_methods {
195
197
196
198
$( $rest: tt) *
197
199
) => {
200
+ #[ allow( unused_mut) ]
198
201
let mut method_data = $data. methods. entry( stringify!( $name) . to_string( ) ) . or_default( ) ;
199
202
200
203
method_data. unsafe_ = false ;
@@ -228,6 +231,7 @@ macro_rules! __data_methods {
228
231
229
232
$( $rest: tt) *
230
233
) => {
234
+ #[ allow( unused_mut) ]
231
235
let mut method_data = $data. methods. entry( stringify!( $name) . to_string( ) ) . or_default( ) ;
232
236
233
237
method_data. mutating = Some ( true ) ;
@@ -261,6 +265,7 @@ macro_rules! __data_methods {
261
265
262
266
$( $rest: tt) *
263
267
) => {
268
+ #[ allow( unused_mut) ]
264
269
let mut method_data = $data. methods. entry( stringify!( $name) . to_string( ) ) . or_default( ) ;
265
270
266
271
method_data. unsafe_ = false ;
Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ macro_rules! __sel_inner {
635
635
636
636
#[ doc( hidden) ]
637
637
#[ macro_export]
638
- #[ cfg( all ( feature = "unstable-static-sel-inlined" ) ) ]
638
+ #[ cfg( feature = "unstable-static-sel-inlined" ) ]
639
639
macro_rules! __sel_inner {
640
640
( $data: expr, $hash: expr) => { {
641
641
$crate:: __inner_statics!( @image_info $hash) ;
@@ -670,7 +670,7 @@ macro_rules! __class_inner {
670
670
671
671
#[ doc( hidden) ]
672
672
#[ macro_export]
673
- #[ cfg( all ( feature = "unstable-static-class-inlined" ) ) ]
673
+ #[ cfg( feature = "unstable-static-class-inlined" ) ]
674
674
macro_rules! __class_inner {
675
675
( $name: expr, $hash: expr, ) => { {
676
676
$crate:: __inner_statics!( @image_info $hash) ;
You can’t perform that action at this time.
0 commit comments