about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2024-12-27 09:57:02 +0000
committerGitHub <noreply@github.com>2024-12-27 09:57:02 +0000
commiteea4a9ab9ee7fd2546f4270a773533a6a0dbe524 (patch)
tree5bd5a944d652d803a681a040857c25d9e4e4f15a
parent352116ce9734c24e41ff10524a7b72b3536d9c63 (diff)
parent0d5b4801594f88ae7bd1730e155e5b152c96767c (diff)
Merge pull request #18744 from gbbosak/master
Treat ; as a terminator rather part of a glued expression
-rw-r--r--src/tools/rust-analyzer/crates/tt/src/iter.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/crates/tt/src/iter.rs b/src/tools/rust-analyzer/crates/tt/src/iter.rs
index 587b903aa97..4d7fe0b5a06 100644
--- a/src/tools/rust-analyzer/crates/tt/src/iter.rs
+++ b/src/tools/rust-analyzer/crates/tt/src/iter.rs
@@ -132,6 +132,7 @@ impl<'a, S: Copy> TtIter<'a, S> {
             }
             ('-' | '!' | '*' | '/' | '&' | '%' | '^' | '+' | '<' | '=' | '>' | '|', '=', _)
             | ('-' | '=' | '>', '>', _)
+            | (_, _, Some(';'))
             | ('<', '-', _)
             | (':', ':', _)
             | ('.', '.', _)