@@ -3069,51 +3069,67 @@ pub(crate) mod printing {
3069
3069
}
3070
3070
3071
3071
let do_print_expr = |tokens : & mut TokenStream | match expr {
3072
+ #[ cfg( feature = "full" ) ]
3072
3073
Expr :: Array ( e) => e. to_tokens ( tokens) ,
3073
3074
#[ cfg( feature = "full" ) ]
3074
3075
Expr :: Assign ( e) => print_expr_assign ( e, tokens, fixup) ,
3076
+ #[ cfg( feature = "full" ) ]
3075
3077
Expr :: Async ( e) => e. to_tokens ( tokens) ,
3076
3078
#[ cfg( feature = "full" ) ]
3077
3079
Expr :: Await ( e) => print_expr_await ( e, tokens, fixup) ,
3078
3080
Expr :: Binary ( e) => print_expr_binary ( e, tokens, fixup) ,
3081
+ #[ cfg( feature = "full" ) ]
3079
3082
Expr :: Block ( e) => e. to_tokens ( tokens) ,
3080
3083
#[ cfg( feature = "full" ) ]
3081
3084
Expr :: Break ( e) => print_expr_break ( e, tokens, fixup) ,
3082
3085
Expr :: Call ( e) => print_expr_call ( e, tokens, fixup) ,
3083
3086
Expr :: Cast ( e) => print_expr_cast ( e, tokens, fixup) ,
3087
+ #[ cfg( feature = "full" ) ]
3084
3088
Expr :: Closure ( e) => e. to_tokens ( tokens) ,
3089
+ #[ cfg( feature = "full" ) ]
3085
3090
Expr :: Const ( e) => e. to_tokens ( tokens) ,
3091
+ #[ cfg( feature = "full" ) ]
3086
3092
Expr :: Continue ( e) => e. to_tokens ( tokens) ,
3087
3093
Expr :: Field ( e) => print_expr_field ( e, tokens, fixup) ,
3094
+ #[ cfg( feature = "full" ) ]
3088
3095
Expr :: ForLoop ( e) => e. to_tokens ( tokens) ,
3089
3096
Expr :: Group ( e) => e. to_tokens ( tokens) ,
3097
+ #[ cfg( feature = "full" ) ]
3090
3098
Expr :: If ( e) => e. to_tokens ( tokens) ,
3091
3099
#[ cfg( feature = "full" ) ]
3092
3100
Expr :: Index ( e) => print_expr_index ( e, tokens, fixup) ,
3101
+ #[ cfg( feature = "full" ) ]
3093
3102
Expr :: Infer ( e) => e. to_tokens ( tokens) ,
3094
3103
#[ cfg( feature = "full" ) ]
3095
3104
Expr :: Let ( e) => print_expr_let ( e, tokens, fixup) ,
3096
3105
Expr :: Lit ( e) => e. to_tokens ( tokens) ,
3106
+ #[ cfg( feature = "full" ) ]
3097
3107
Expr :: Loop ( e) => e. to_tokens ( tokens) ,
3098
3108
Expr :: Macro ( e) => e. to_tokens ( tokens) ,
3109
+ #[ cfg( feature = "full" ) ]
3099
3110
Expr :: Match ( e) => e. to_tokens ( tokens) ,
3100
3111
Expr :: MethodCall ( e) => print_expr_method_call ( e, tokens, fixup) ,
3101
3112
Expr :: Paren ( e) => e. to_tokens ( tokens) ,
3102
3113
Expr :: Path ( e) => e. to_tokens ( tokens) ,
3103
3114
#[ cfg( feature = "full" ) ]
3104
3115
Expr :: Range ( e) => print_expr_range ( e, tokens, fixup) ,
3105
3116
Expr :: Reference ( e) => print_expr_reference ( e, tokens, fixup) ,
3117
+ #[ cfg( feature = "full" ) ]
3106
3118
Expr :: Repeat ( e) => e. to_tokens ( tokens) ,
3107
3119
#[ cfg( feature = "full" ) ]
3108
3120
Expr :: Return ( e) => print_expr_return ( e, tokens, fixup) ,
3109
3121
Expr :: Struct ( e) => e. to_tokens ( tokens) ,
3110
3122
#[ cfg( feature = "full" ) ]
3111
3123
Expr :: Try ( e) => print_expr_try ( e, tokens, fixup) ,
3124
+ #[ cfg( feature = "full" ) ]
3112
3125
Expr :: TryBlock ( e) => e. to_tokens ( tokens) ,
3126
+ #[ cfg( feature = "full" ) ]
3113
3127
Expr :: Tuple ( e) => e. to_tokens ( tokens) ,
3114
3128
Expr :: Unary ( e) => print_expr_unary ( e, tokens, fixup) ,
3129
+ #[ cfg( feature = "full" ) ]
3115
3130
Expr :: Unsafe ( e) => e. to_tokens ( tokens) ,
3116
3131
Expr :: Verbatim ( e) => e. to_tokens ( tokens) ,
3132
+ #[ cfg( feature = "full" ) ]
3117
3133
Expr :: While ( e) => e. to_tokens ( tokens) ,
3118
3134
#[ cfg( feature = "full" ) ]
3119
3135
Expr :: Yield ( e) => print_expr_yield ( e, tokens, fixup) ,
0 commit comments