diff options
Diffstat (limited to 'crates/ra_mbe/src')
-rw-r--r-- | crates/ra_mbe/src/lib.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/crates/ra_mbe/src/lib.rs b/crates/ra_mbe/src/lib.rs index 989308626..93246f54a 100644 --- a/crates/ra_mbe/src/lib.rs +++ b/crates/ra_mbe/src/lib.rs | |||
@@ -302,37 +302,37 @@ impl_froms!(TokenTree: Leaf, Subtree); | |||
302 | r#" | 302 | r#" |
303 | SOURCE_FILE@[0; 40) | 303 | SOURCE_FILE@[0; 40) |
304 | STRUCT_DEF@[0; 20) | 304 | STRUCT_DEF@[0; 20) |
305 | STRUCT_KW@[0; 6) | 305 | STRUCT_KW@[0; 6) "struct" |
306 | NAME@[6; 9) | 306 | NAME@[6; 9) |
307 | IDENT@[6; 9) "Foo" | 307 | IDENT@[6; 9) "Foo" |
308 | NAMED_FIELD_DEF_LIST@[9; 20) | 308 | NAMED_FIELD_DEF_LIST@[9; 20) |
309 | L_CURLY@[9; 10) | 309 | L_CURLY@[9; 10) "{" |
310 | NAMED_FIELD_DEF@[10; 19) | 310 | NAMED_FIELD_DEF@[10; 19) |
311 | NAME@[10; 15) | 311 | NAME@[10; 15) |
312 | IDENT@[10; 15) "field" | 312 | IDENT@[10; 15) "field" |
313 | COLON@[15; 16) | 313 | COLON@[15; 16) ":" |
314 | PATH_TYPE@[16; 19) | 314 | PATH_TYPE@[16; 19) |
315 | PATH@[16; 19) | 315 | PATH@[16; 19) |
316 | PATH_SEGMENT@[16; 19) | 316 | PATH_SEGMENT@[16; 19) |
317 | NAME_REF@[16; 19) | 317 | NAME_REF@[16; 19) |
318 | IDENT@[16; 19) "u32" | 318 | IDENT@[16; 19) "u32" |
319 | R_CURLY@[19; 20) | 319 | R_CURLY@[19; 20) "}" |
320 | STRUCT_DEF@[20; 40) | 320 | STRUCT_DEF@[20; 40) |
321 | STRUCT_KW@[20; 26) | 321 | STRUCT_KW@[20; 26) "struct" |
322 | NAME@[26; 29) | 322 | NAME@[26; 29) |
323 | IDENT@[26; 29) "Bar" | 323 | IDENT@[26; 29) "Bar" |
324 | NAMED_FIELD_DEF_LIST@[29; 40) | 324 | NAMED_FIELD_DEF_LIST@[29; 40) |
325 | L_CURLY@[29; 30) | 325 | L_CURLY@[29; 30) "{" |
326 | NAMED_FIELD_DEF@[30; 39) | 326 | NAMED_FIELD_DEF@[30; 39) |
327 | NAME@[30; 35) | 327 | NAME@[30; 35) |
328 | IDENT@[30; 35) "field" | 328 | IDENT@[30; 35) "field" |
329 | COLON@[35; 36) | 329 | COLON@[35; 36) ":" |
330 | PATH_TYPE@[36; 39) | 330 | PATH_TYPE@[36; 39) |
331 | PATH@[36; 39) | 331 | PATH@[36; 39) |
332 | PATH_SEGMENT@[36; 39) | 332 | PATH_SEGMENT@[36; 39) |
333 | NAME_REF@[36; 39) | 333 | NAME_REF@[36; 39) |
334 | IDENT@[36; 39) "u32" | 334 | IDENT@[36; 39) "u32" |
335 | R_CURLY@[39; 40)"# | 335 | R_CURLY@[39; 40) "}""# |
336 | .trim() | 336 | .trim() |
337 | ); | 337 | ); |
338 | } | 338 | } |