@@ -472,7 +472,7 @@ config_data! {
472
472
/// Whether to prefer using parameter names as the name for elided lifetime hints if possible.
473
473
inlayHints_lifetimeElisionHints_useParameterNames: bool = false ,
474
474
/// Maximum length for inlay hints. Set to null to have an unlimited length.
475
- inlayHints_maxLength: Option <usize > = Some ( 25_usize ) ,
475
+ inlayHints_maxLength: Option <usize > = Some ( 25 ) ,
476
476
/// Whether to show function parameter name inlay hints at the call
477
477
/// site.
478
478
inlayHints_parameterHints_enable: bool = true ,
@@ -2230,7 +2230,7 @@ macro_rules! _config_data {
2230
2230
error_sink,
2231
2231
stringify!( $field) ,
2232
2232
None $( . or( Some ( stringify!( $alias) ) ) ) * ,
2233
- $default as $ty,
2233
+ { let default_ : $ty = $default ; default_ } ,
2234
2234
) ,
2235
2235
) * }
2236
2236
}
@@ -2248,7 +2248,7 @@ macro_rules! _config_data {
2248
2248
error_sink,
2249
2249
stringify!( $field2) ,
2250
2250
None $( . or( Some ( stringify!( $alias2) ) ) ) * ,
2251
- $default2 as $ty2,
2251
+ { let default_ : $ty2 = $default2 ; default_ } ,
2252
2252
) ,
2253
2253
) * }
2254
2254
}
@@ -2265,7 +2265,7 @@ macro_rules! _config_data {
2265
2265
error_sink,
2266
2266
stringify!( $field3) ,
2267
2267
None $( . or( Some ( stringify!( $alias3) ) ) ) * ,
2268
- $default3 as $ty3,
2268
+ { let default_ : $ty3 = $default3 ; default_ } ,
2269
2269
) ,
2270
2270
) * }
2271
2271
}
@@ -2288,7 +2288,7 @@ macro_rules! _config_data {
2288
2288
error_sink,
2289
2289
stringify!( $field) ,
2290
2290
None $( . or( Some ( stringify!( $alias) ) ) ) * ,
2291
- $default as $ty,
2291
+ { let default_ : $ty = $default ; default_ } ,
2292
2292
) ,
2293
2293
) *
2294
2294
$(
@@ -2297,7 +2297,7 @@ macro_rules! _config_data {
2297
2297
error_sink,
2298
2298
stringify!( $field2) ,
2299
2299
None $( . or( Some ( stringify!( $alias2) ) ) ) * ,
2300
- $default2 as $ty2,
2300
+ { let default_ : $ty2 = $default2 ; default_ } ,
2301
2301
) ,
2302
2302
) *
2303
2303
$(
@@ -2306,7 +2306,7 @@ macro_rules! _config_data {
2306
2306
error_sink,
2307
2307
stringify!( $field3) ,
2308
2308
None $( . or( Some ( stringify!( $alias3) ) ) ) * ,
2309
- $default3 as $ty3,
2309
+ { let default_ : $ty3 = $default3 ; default_ } ,
2310
2310
) ,
2311
2311
) * }
2312
2312
}
@@ -2318,7 +2318,7 @@ macro_rules! _config_data {
2318
2318
error_sink,
2319
2319
stringify!( $field) ,
2320
2320
None $( . or( Some ( stringify!( $alias) ) ) ) * ,
2321
- $default as $ty,
2321
+ { let default_ : $ty = $default ; default_ } ,
2322
2322
) ,
2323
2323
) *
2324
2324
$(
@@ -2327,7 +2327,7 @@ macro_rules! _config_data {
2327
2327
error_sink,
2328
2328
stringify!( $field2) ,
2329
2329
None $( . or( Some ( stringify!( $alias2) ) ) ) * ,
2330
- $default2 as $ty2,
2330
+ { let default_ : $ty2 = $default2 ; default_ } ,
2331
2331
) ,
2332
2332
) *
2333
2333
$(
@@ -2336,7 +2336,7 @@ macro_rules! _config_data {
2336
2336
error_sink,
2337
2337
stringify!( $field3) ,
2338
2338
None $( . or( Some ( stringify!( $alias3) ) ) ) * ,
2339
- $default3 as $ty3,
2339
+ { let default_ : $ty3 = $default3 ; default_ } ,
2340
2340
) ,
2341
2341
) * }
2342
2342
}
@@ -2347,19 +2347,19 @@ macro_rules! _config_data {
2347
2347
let field = stringify!( $field) ;
2348
2348
let ty = stringify!( $ty) ;
2349
2349
2350
- ( field, ty, & [ $( $doc) ,* ] , serde_json:: to_string( & ( $default as $ty) ) . unwrap( ) . as_str( ) )
2350
+ ( field, ty, & [ $( $doc) ,* ] , serde_json:: to_string( & { let default_ : $ty = $default ; default_ } ) . unwrap( ) . as_str( ) )
2351
2351
} , ) *
2352
2352
$( {
2353
2353
let field = stringify!( $field2) ;
2354
2354
let ty = stringify!( $ty2) ;
2355
2355
2356
- ( field, ty, & [ $( $doc2) ,* ] , serde_json:: to_string( & ( $default2 as $ty2) ) . unwrap( ) . as_str( ) )
2356
+ ( field, ty, & [ $( $doc2) ,* ] , serde_json:: to_string( & { let default_ : $ty2 = $default2 ; default_ } ) . unwrap( ) . as_str( ) )
2357
2357
} , ) *
2358
2358
$( {
2359
2359
let field = stringify!( $field3) ;
2360
2360
let ty = stringify!( $ty3) ;
2361
2361
2362
- ( field, ty, & [ $( $doc3) ,* ] , serde_json:: to_string( & ( $default3 as $ty3) ) . unwrap( ) . as_str( ) )
2362
+ ( field, ty, & [ $( $doc3) ,* ] , serde_json:: to_string( & { let default_ : $ty3 = $default3 ; default_ } ) . unwrap( ) . as_str( ) )
2363
2363
} , ) *
2364
2364
] )
2365
2365
}
0 commit comments