@@ -627,7 +627,7 @@ macro_rules! event {
627
627
target: $target,
628
628
parent: $parent,
629
629
$lvl,
630
- { message = :: core :: format_args!( $( $arg) +) , $( $fields) * }
630
+ { message = $crate :: __macro_support :: format_args!( $( $arg) +) , $( $fields) * }
631
631
)
632
632
) ;
633
633
( name: $name: expr, target: $target: expr, parent: $parent: expr, $lvl: expr, $( $k: ident) .+ = $( $fields: tt) * ) => (
@@ -678,7 +678,7 @@ macro_rules! event {
678
678
name: $name,
679
679
target: $target,
680
680
$lvl,
681
- { message = :: core :: format_args!( $( $arg) +) , $( $fields) * }
681
+ { message = $crate :: __macro_support :: format_args!( $( $arg) +) , $( $fields) * }
682
682
)
683
683
) ;
684
684
( name: $name: expr, target: $target: expr, $lvl: expr, $( $k: ident) .+ = $( $fields: tt) * ) => (
@@ -736,7 +736,7 @@ macro_rules! event {
736
736
target: $target,
737
737
parent: $parent,
738
738
$lvl,
739
- { message = :: core :: format_args!( $( $arg) +) , $( $fields) * }
739
+ { message = $crate :: __macro_support :: format_args!( $( $arg) +) , $( $fields) * }
740
740
)
741
741
) ;
742
742
( target: $target: expr, parent: $parent: expr, $lvl: expr, $( $k: ident) .+ = $( $fields: tt) * ) => (
@@ -789,7 +789,7 @@ macro_rules! event {
789
789
name: $name,
790
790
parent: $parent,
791
791
$lvl,
792
- { message = :: core :: format_args!( $( $arg) +) , $( $fields) * }
792
+ { message = $crate :: __macro_support :: format_args!( $( $arg) +) , $( $fields) * }
793
793
)
794
794
) ;
795
795
( name: $name: expr, parent: $parent: expr, $lvl: expr, $( $k: ident) .+ = $( $fields: tt) * ) => (
@@ -839,7 +839,7 @@ macro_rules! event {
839
839
$crate:: event!(
840
840
name: $name,
841
841
$lvl,
842
- { message = :: core :: format_args!( $( $arg) +) , $( $fields) * }
842
+ { message = $crate :: __macro_support :: format_args!( $( $arg) +) , $( $fields) * }
843
843
)
844
844
) ;
845
845
( name: $name: expr, $lvl: expr, $( $k: ident) .+ = $( $fields: tt) * ) => (
@@ -894,7 +894,7 @@ macro_rules! event {
894
894
$crate:: event!(
895
895
target: $target,
896
896
$lvl,
897
- { message = :: core :: format_args!( $( $arg) +) , $( $fields) * }
897
+ { message = $crate :: __macro_support :: format_args!( $( $arg) +) , $( $fields) * }
898
898
)
899
899
) ;
900
900
( target: $target: expr, $lvl: expr, $( $k: ident) .+ = $( $fields: tt) * ) => (
@@ -910,7 +910,7 @@ macro_rules! event {
910
910
target: module_path!( ) ,
911
911
parent: $parent,
912
912
$lvl,
913
- { message = :: core :: format_args!( $( $arg) +) , $( $fields) * }
913
+ { message = $crate :: __macro_support :: format_args!( $( $arg) +) , $( $fields) * }
914
914
)
915
915
) ;
916
916
( parent: $parent: expr, $lvl: expr, $( $k: ident) .+ = $( $field: tt) * ) => (
@@ -970,7 +970,7 @@ macro_rules! event {
970
970
$crate:: event!(
971
971
target: module_path!( ) ,
972
972
$lvl,
973
- { message = :: core :: format_args!( $( $arg) +) , $( $fields) * }
973
+ { message = $crate :: __macro_support :: format_args!( $( $arg) +) , $( $fields) * }
974
974
)
975
975
) ;
976
976
( $lvl: expr, { $( $fields: tt) * } , $( $arg: tt) + ) => (
@@ -2802,120 +2802,120 @@ macro_rules! valueset {
2802
2802
// };
2803
2803
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+ = ?$val: expr, $( $rest: tt) * ) => {
2804
2804
$crate:: valueset!(
2805
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & debug( & $val) as & dyn Value ) ) } ,
2805
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & debug( & $val) as & dyn Value ) ) } ,
2806
2806
$next,
2807
2807
$( $rest) *
2808
2808
)
2809
2809
} ;
2810
2810
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+ = %$val: expr, $( $rest: tt) * ) => {
2811
2811
$crate:: valueset!(
2812
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & display( & $val) as & dyn Value ) ) } ,
2812
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & display( & $val) as & dyn Value ) ) } ,
2813
2813
$next,
2814
2814
$( $rest) *
2815
2815
)
2816
2816
} ;
2817
2817
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+ = $val: expr, $( $rest: tt) * ) => {
2818
2818
$crate:: valueset!(
2819
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & $val as & dyn Value ) ) } ,
2819
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & $val as & dyn Value ) ) } ,
2820
2820
$next,
2821
2821
$( $rest) *
2822
2822
)
2823
2823
} ;
2824
2824
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+, $( $rest: tt) * ) => {
2825
2825
$crate:: valueset!(
2826
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & $( $k) .+ as & dyn Value ) ) } ,
2826
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & $( $k) .+ as & dyn Value ) ) } ,
2827
2827
$next,
2828
2828
$( $rest) *
2829
2829
)
2830
2830
} ;
2831
2831
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, ?$( $k: ident) .+, $( $rest: tt) * ) => {
2832
2832
$crate:: valueset!(
2833
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & debug( & $( $k) .+) as & dyn Value ) ) } ,
2833
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & debug( & $( $k) .+) as & dyn Value ) ) } ,
2834
2834
$next,
2835
2835
$( $rest) *
2836
2836
)
2837
2837
} ;
2838
2838
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, %$( $k: ident) .+, $( $rest: tt) * ) => {
2839
2839
$crate:: valueset!(
2840
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & display( & $( $k) .+) as & dyn Value ) ) } ,
2840
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & display( & $( $k) .+) as & dyn Value ) ) } ,
2841
2841
$next,
2842
2842
$( $rest) *
2843
2843
)
2844
2844
} ;
2845
2845
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+ = ?$val: expr) => {
2846
2846
$crate:: valueset!(
2847
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & debug( & $val) as & dyn Value ) ) } ,
2847
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & debug( & $val) as & dyn Value ) ) } ,
2848
2848
$next,
2849
2849
)
2850
2850
} ;
2851
2851
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+ = %$val: expr) => {
2852
2852
$crate:: valueset!(
2853
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & display( & $val) as & dyn Value ) ) } ,
2853
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & display( & $val) as & dyn Value ) ) } ,
2854
2854
$next,
2855
2855
)
2856
2856
} ;
2857
2857
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+ = $val: expr) => {
2858
2858
$crate:: valueset!(
2859
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & $val as & dyn Value ) ) } ,
2859
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & $val as & dyn Value ) ) } ,
2860
2860
$next,
2861
2861
)
2862
2862
} ;
2863
2863
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+) => {
2864
2864
$crate:: valueset!(
2865
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & $( $k) .+ as & dyn Value ) ) } ,
2865
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & $( $k) .+ as & dyn Value ) ) } ,
2866
2866
$next,
2867
2867
)
2868
2868
} ;
2869
2869
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, ?$( $k: ident) .+) => {
2870
2870
$crate:: valueset!(
2871
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & debug( & $( $k) .+) as & dyn Value ) ) } ,
2871
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & debug( & $( $k) .+) as & dyn Value ) ) } ,
2872
2872
$next,
2873
2873
)
2874
2874
} ;
2875
2875
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, %$( $k: ident) .+) => {
2876
2876
$crate:: valueset!(
2877
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & display( & $( $k) .+) as & dyn Value ) ) } ,
2877
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & display( & $( $k) .+) as & dyn Value ) ) } ,
2878
2878
$next,
2879
2879
)
2880
2880
} ;
2881
2881
2882
2882
// Handle literal names
2883
2883
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $k: literal = ?$val: expr, $( $rest: tt) * ) => {
2884
2884
$crate:: valueset!(
2885
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & debug( & $val) as & dyn Value ) ) } ,
2885
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & debug( & $val) as & dyn Value ) ) } ,
2886
2886
$next,
2887
2887
$( $rest) *
2888
2888
)
2889
2889
} ;
2890
2890
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $k: literal = %$val: expr, $( $rest: tt) * ) => {
2891
2891
$crate:: valueset!(
2892
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & display( & $val) as & dyn Value ) ) } ,
2892
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & display( & $val) as & dyn Value ) ) } ,
2893
2893
$next,
2894
2894
$( $rest) *
2895
2895
)
2896
2896
} ;
2897
2897
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $k: literal = $val: expr, $( $rest: tt) * ) => {
2898
2898
$crate:: valueset!(
2899
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & $val as & dyn Value ) ) } ,
2899
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & $val as & dyn Value ) ) } ,
2900
2900
$next,
2901
2901
$( $rest) *
2902
2902
)
2903
2903
} ;
2904
2904
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $k: literal = ?$val: expr) => {
2905
2905
$crate:: valueset!(
2906
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & debug( & $val) as & dyn Value ) ) } ,
2906
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & debug( & $val) as & dyn Value ) ) } ,
2907
2907
$next,
2908
2908
)
2909
2909
} ;
2910
2910
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $k: literal = %$val: expr) => {
2911
2911
$crate:: valueset!(
2912
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & display( & $val) as & dyn Value ) ) } ,
2912
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & display( & $val) as & dyn Value ) ) } ,
2913
2913
$next,
2914
2914
)
2915
2915
} ;
2916
2916
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $k: literal = $val: expr) => {
2917
2917
$crate:: valueset!(
2918
- @ { $( $out) ,* , ( & $next, :: core :: option :: Option :: Some ( & $val as & dyn Value ) ) } ,
2918
+ @ { $( $out) ,* , ( & $next, $crate :: __macro_support :: Option :: Some ( & $val as & dyn Value ) ) } ,
2919
2919
$next,
2920
2920
)
2921
2921
} ;
@@ -2963,7 +2963,7 @@ macro_rules! valueset {
2963
2963
2964
2964
// Remainder is unparsable, but exists --- must be format args!
2965
2965
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $rest: tt) +) => {
2966
- $crate:: valueset!( @ { ( & $next, :: core :: option :: Option :: Some ( & :: core :: format_args!( $( $rest) +) as & dyn Value ) ) , $( $out) ,* } , $next, )
2966
+ $crate:: valueset!( @ { ( & $next, $crate :: __macro_support :: Option :: Some ( & $crate :: __macro_support :: format_args!( $( $rest) +) as & dyn Value ) ) , $( $out) ,* } , $next, )
2967
2967
} ;
2968
2968
2969
2969
// === entry ===
@@ -2974,7 +2974,7 @@ macro_rules! valueset {
2974
2974
let mut iter = $fields. iter( ) ;
2975
2975
$fields. value_set( $crate:: valueset!(
2976
2976
@ { } ,
2977
- :: core :: iter :: Iterator :: next( & mut iter) . expect( "FieldSet corrupted (this is a bug)" ) ,
2977
+ $crate :: __macro_support :: Iterator :: next( & mut iter) . expect( "FieldSet corrupted (this is a bug)" ) ,
2978
2978
$( $kvs) +
2979
2979
) )
2980
2980
}
0 commit comments