File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,7 @@ macro_rules! simple_enum {
345345 }
346346
347347 impl $e {
348+ #[ allow( dead_code) ]
348349 pub fn variants( ) -> Vec <& ' static str > {
349350 vec![
350351 $( stringify!( $v) , ) +
@@ -427,6 +428,7 @@ macro_rules! arg_enum {
427428 }
428429
429430 impl $e {
431+ #[ allow( dead_code) ]
430432 fn variants( ) -> Vec <& ' static str > {
431433 vec![
432434 $( stringify!( $v) , ) +
@@ -469,6 +471,7 @@ macro_rules! arg_enum {
469471 }
470472
471473 impl $e {
474+ #[ allow( dead_code) ]
472475 pub fn variants( ) -> Vec <& ' static str > {
473476 vec![
474477 $( stringify!( $v) , ) +
@@ -512,6 +515,7 @@ macro_rules! arg_enum {
512515 }
513516
514517 impl $e {
518+ #[ allow( dead_code) ]
515519 pub fn variants( ) -> Vec <& ' static str > {
516520 vec![
517521 $( stringify!( $v) , ) +
@@ -555,6 +559,7 @@ macro_rules! arg_enum {
555559 }
556560
557561 impl $e {
562+ #[ allow( dead_code) ]
558563 pub fn variants( ) -> Vec <& ' static str > {
559564 vec![
560565 $( stringify!( $v) , ) +
You can’t perform that action at this time.
0 commit comments