mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Fix macro expansion for statements w/o semicolon
This commit is contained in:
parent
c0a2b4e826
commit
8e07b23b84
10 changed files with 99 additions and 61 deletions
|
@ -662,12 +662,11 @@ fn test_tt_to_stmts() {
|
|||
LITERAL@12..13
|
||||
INT_NUMBER@12..13 "1"
|
||||
SEMICOLON@13..14 ";"
|
||||
EXPR_STMT@14..15
|
||||
PATH_EXPR@14..15
|
||||
PATH@14..15
|
||||
PATH_SEGMENT@14..15
|
||||
NAME_REF@14..15
|
||||
IDENT@14..15 "a""#,
|
||||
PATH_EXPR@14..15
|
||||
PATH@14..15
|
||||
PATH_SEGMENT@14..15
|
||||
NAME_REF@14..15
|
||||
IDENT@14..15 "a""#,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue