diff options
| author | Brian Bosak <bbosak@google.com> | 2024-12-22 16:44:01 -0600 |
|---|---|---|
| committer | Brian Bosak <bbosak@google.com> | 2024-12-22 16:44:01 -0600 |
| commit | 0d5b4801594f88ae7bd1730e155e5b152c96767c (patch) | |
| tree | 1f8010f4ace9fff9ada53150357306660d66048e | |
| parent | 63a3c394617b114a8fa6e54401700b3adee65a7d (diff) | |
| download | rust-0d5b4801594f88ae7bd1730e155e5b152c96767c.tar.gz rust-0d5b4801594f88ae7bd1730e155e5b152c96767c.zip | |
Treat ; as a terminator rather than something that can be glued together in an expression
| -rw-r--r-- | src/tools/rust-analyzer/crates/tt/src/iter.rs | 1 |
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(';')) | ('<', '-', _) | (':', ':', _) | ('.', '.', _) |
