Skip to content

Commit eea4a9a

Browse files
authored
Merge pull request #18744 from gbbosak/master
Treat ; as a terminator rather part of a glued expression
2 parents 352116c + 0d5b480 commit eea4a9a

File tree

1 file changed

+1
-0
lines changed
  • src/tools/rust-analyzer/crates/tt/src

1 file changed

+1
-0
lines changed

src/tools/rust-analyzer/crates/tt/src/iter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ impl<'a, S: Copy> TtIter<'a, S> {
132132
}
133133
('-' | '!' | '*' | '/' | '&' | '%' | '^' | '+' | '<' | '=' | '>' | '|', '=', _)
134134
| ('-' | '=' | '>', '>', _)
135+
| (_, _, Some(';'))
135136
| ('<', '-', _)
136137
| (':', ':', _)
137138
| ('.', '.', _)

0 commit comments

Comments
 (0)