@@ -2196,127 +2196,127 @@ macro_rules! valueset {
2196
2196
// };
2197
2197
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+ = ?$val: expr, $( $rest: tt) * ) => {
2198
2198
$crate:: valueset!(
2199
- @ { $( $out) ,* , ( & $next, Some ( & debug( & $val) as & Value ) ) } ,
2199
+ @ { $( $out) ,* , ( & $next, Some ( & debug( & $val) as & dyn Value ) ) } ,
2200
2200
$next,
2201
2201
$( $rest) *
2202
2202
)
2203
2203
} ;
2204
2204
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+ = %$val: expr, $( $rest: tt) * ) => {
2205
2205
$crate:: valueset!(
2206
- @ { $( $out) ,* , ( & $next, Some ( & display( & $val) as & Value ) ) } ,
2206
+ @ { $( $out) ,* , ( & $next, Some ( & display( & $val) as & dyn Value ) ) } ,
2207
2207
$next,
2208
2208
$( $rest) *
2209
2209
)
2210
2210
} ;
2211
2211
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+ = $val: expr, $( $rest: tt) * ) => {
2212
2212
$crate:: valueset!(
2213
- @ { $( $out) ,* , ( & $next, Some ( & $val as & Value ) ) } ,
2213
+ @ { $( $out) ,* , ( & $next, Some ( & $val as & dyn Value ) ) } ,
2214
2214
$next,
2215
2215
$( $rest) *
2216
2216
)
2217
2217
} ;
2218
2218
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+, $( $rest: tt) * ) => {
2219
2219
$crate:: valueset!(
2220
- @ { $( $out) ,* , ( & $next, Some ( & $( $k) .+ as & Value ) ) } ,
2220
+ @ { $( $out) ,* , ( & $next, Some ( & $( $k) .+ as & dyn Value ) ) } ,
2221
2221
$next,
2222
2222
$( $rest) *
2223
2223
)
2224
2224
} ;
2225
2225
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, ?$( $k: ident) .+, $( $rest: tt) * ) => {
2226
2226
$crate:: valueset!(
2227
- @ { $( $out) ,* , ( & $next, Some ( & debug( & $( $k) .+) as & Value ) ) } ,
2227
+ @ { $( $out) ,* , ( & $next, Some ( & debug( & $( $k) .+) as & dyn Value ) ) } ,
2228
2228
$next,
2229
2229
$( $rest) *
2230
2230
)
2231
2231
} ;
2232
2232
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, %$( $k: ident) .+, $( $rest: tt) * ) => {
2233
2233
$crate:: valueset!(
2234
- @ { $( $out) ,* , ( & $next, Some ( & display( & $( $k) .+) as & Value ) ) } ,
2234
+ @ { $( $out) ,* , ( & $next, Some ( & display( & $( $k) .+) as & dyn Value ) ) } ,
2235
2235
$next,
2236
2236
$( $rest) *
2237
2237
)
2238
2238
} ;
2239
2239
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+ = ?$val: expr) => {
2240
2240
$crate:: valueset!(
2241
- @ { $( $out) ,* , ( & $next, Some ( & debug( & $val) as & Value ) ) } ,
2241
+ @ { $( $out) ,* , ( & $next, Some ( & debug( & $val) as & dyn Value ) ) } ,
2242
2242
$next,
2243
2243
)
2244
2244
} ;
2245
2245
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+ = %$val: expr) => {
2246
2246
$crate:: valueset!(
2247
- @ { $( $out) ,* , ( & $next, Some ( & display( & $val) as & Value ) ) } ,
2247
+ @ { $( $out) ,* , ( & $next, Some ( & display( & $val) as & dyn Value ) ) } ,
2248
2248
$next,
2249
2249
)
2250
2250
} ;
2251
2251
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+ = $val: expr) => {
2252
2252
$crate:: valueset!(
2253
- @ { $( $out) ,* , ( & $next, Some ( & $val as & Value ) ) } ,
2253
+ @ { $( $out) ,* , ( & $next, Some ( & $val as & dyn Value ) ) } ,
2254
2254
$next,
2255
2255
)
2256
2256
} ;
2257
2257
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $k: ident) .+) => {
2258
2258
$crate:: valueset!(
2259
- @ { $( $out) ,* , ( & $next, Some ( & $( $k) .+ as & Value ) ) } ,
2259
+ @ { $( $out) ,* , ( & $next, Some ( & $( $k) .+ as & dyn Value ) ) } ,
2260
2260
$next,
2261
2261
)
2262
2262
} ;
2263
2263
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, ?$( $k: ident) .+) => {
2264
2264
$crate:: valueset!(
2265
- @ { $( $out) ,* , ( & $next, Some ( & debug( & $( $k) .+) as & Value ) ) } ,
2265
+ @ { $( $out) ,* , ( & $next, Some ( & debug( & $( $k) .+) as & dyn Value ) ) } ,
2266
2266
$next,
2267
2267
)
2268
2268
} ;
2269
2269
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, %$( $k: ident) .+) => {
2270
2270
$crate:: valueset!(
2271
- @ { $( $out) ,* , ( & $next, Some ( & display( & $( $k) .+) as & Value ) ) } ,
2271
+ @ { $( $out) ,* , ( & $next, Some ( & display( & $( $k) .+) as & dyn Value ) ) } ,
2272
2272
$next,
2273
2273
)
2274
2274
} ;
2275
2275
2276
2276
// Handle literal names
2277
2277
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $k: literal = ?$val: expr, $( $rest: tt) * ) => {
2278
2278
$crate:: valueset!(
2279
- @ { $( $out) ,* , ( & $next, Some ( & debug( & $val) as & Value ) ) } ,
2279
+ @ { $( $out) ,* , ( & $next, Some ( & debug( & $val) as & dyn Value ) ) } ,
2280
2280
$next,
2281
2281
$( $rest) *
2282
2282
)
2283
2283
} ;
2284
2284
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $k: literal = %$val: expr, $( $rest: tt) * ) => {
2285
2285
$crate:: valueset!(
2286
- @ { $( $out) ,* , ( & $next, Some ( & display( & $val) as & Value ) ) } ,
2286
+ @ { $( $out) ,* , ( & $next, Some ( & display( & $val) as & dyn Value ) ) } ,
2287
2287
$next,
2288
2288
$( $rest) *
2289
2289
)
2290
2290
} ;
2291
2291
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $k: literal = $val: expr, $( $rest: tt) * ) => {
2292
2292
$crate:: valueset!(
2293
- @ { $( $out) ,* , ( & $next, Some ( & $val as & Value ) ) } ,
2293
+ @ { $( $out) ,* , ( & $next, Some ( & $val as & dyn Value ) ) } ,
2294
2294
$next,
2295
2295
$( $rest) *
2296
2296
)
2297
2297
} ;
2298
2298
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $k: literal = ?$val: expr) => {
2299
2299
$crate:: valueset!(
2300
- @ { $( $out) ,* , ( & $next, Some ( & debug( & $val) as & Value ) ) } ,
2300
+ @ { $( $out) ,* , ( & $next, Some ( & debug( & $val) as & dyn Value ) ) } ,
2301
2301
$next,
2302
2302
)
2303
2303
} ;
2304
2304
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $k: literal = %$val: expr) => {
2305
2305
$crate:: valueset!(
2306
- @ { $( $out) ,* , ( & $next, Some ( & display( & $val) as & Value ) ) } ,
2306
+ @ { $( $out) ,* , ( & $next, Some ( & display( & $val) as & dyn Value ) ) } ,
2307
2307
$next,
2308
2308
)
2309
2309
} ;
2310
2310
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $k: literal = $val: expr) => {
2311
2311
$crate:: valueset!(
2312
- @ { $( $out) ,* , ( & $next, Some ( & $val as & Value ) ) } ,
2312
+ @ { $( $out) ,* , ( & $next, Some ( & $val as & dyn Value ) ) } ,
2313
2313
$next,
2314
2314
)
2315
2315
} ;
2316
2316
2317
2317
// Remainder is unparseable, but exists --- must be format args!
2318
2318
( @ { $( , ) * $( $out: expr) ,* } , $next: expr, $( $rest: tt) +) => {
2319
- $crate:: valueset!( @ { ( & $next, Some ( & format_args!( $( $rest) +) as & Value ) ) , $( $out) ,* } , $next, )
2319
+ $crate:: valueset!( @ { ( & $next, Some ( & format_args!( $( $rest) +) as & dyn Value ) ) , $( $out) ,* } , $next, )
2320
2320
} ;
2321
2321
2322
2322
// === entry ===
0 commit comments