File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/tools/rust-analyzer/crates
parser/src/grammar/expressions Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1498,6 +1498,11 @@ fn main() {
1498
1498
43..44 '1': i32
1499
1499
58..63 'mut o': i32
1500
1500
66..67 '0': i32
1501
+ !95..104 'thread_id': usize
1502
+ !103..107 '&foo': &'? i32
1503
+ !104..107 'foo': i32
1504
+ !115..120 '&muto': &'? mut i32
1505
+ !119..120 'o': i32
1501
1506
293..294 'o': i32
1502
1507
308..317 'thread_id': usize
1503
1508
"# ] ] ,
Original file line number Diff line number Diff line change @@ -434,6 +434,7 @@ fn parse_options(p: &mut Parser<'_>) {
434
434
let m = p. start ( ) ;
435
435
if !OPTIONS . iter ( ) . any ( |& syntax| p. eat_contextual_kw ( syntax) ) {
436
436
p. err_and_bump ( "expected asm option" ) ;
437
+ m. abandon ( p) ;
437
438
continue ;
438
439
}
439
440
m. complete ( p, ASM_OPTION ) ;
You can’t perform that action at this time.
0 commit comments