mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-19 01:50:32 +00:00
Parse impl const Trait
This commit is contained in:
parent
6105dbfc2e
commit
b26002410b
4 changed files with 31 additions and 2 deletions
|
@ -0,0 +1,24 @@
|
|||
SOURCE_FILE@0..25
|
||||
IMPL@0..24
|
||||
IMPL_KW@0..4 "impl"
|
||||
WHITESPACE@4..5 " "
|
||||
CONST_KW@5..10 "const"
|
||||
WHITESPACE@10..11 " "
|
||||
PATH_TYPE@11..15
|
||||
PATH@11..15
|
||||
PATH_SEGMENT@11..15
|
||||
NAME_REF@11..15
|
||||
IDENT@11..15 "Send"
|
||||
WHITESPACE@15..16 " "
|
||||
FOR_KW@16..19 "for"
|
||||
WHITESPACE@19..20 " "
|
||||
PATH_TYPE@20..21
|
||||
PATH@20..21
|
||||
PATH_SEGMENT@20..21
|
||||
NAME_REF@20..21
|
||||
IDENT@20..21 "X"
|
||||
WHITESPACE@21..22 " "
|
||||
ASSOC_ITEM_LIST@22..24
|
||||
L_CURLY@22..23 "{"
|
||||
R_CURLY@23..24 "}"
|
||||
WHITESPACE@24..25 "\n"
|
|
@ -0,0 +1 @@
|
|||
impl const Send for X {}
|
Loading…
Add table
Add a link
Reference in a new issue