mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Treat ; as a terminator rather than something that can be glued together in an expression
This commit is contained in:
parent
fa4a40bbe8
commit
5162a9ab1c
@ -132,6 +132,7 @@ impl<'a, S: Copy> TtIter<'a, S> {
|
|||||||
}
|
}
|
||||||
('-' | '!' | '*' | '/' | '&' | '%' | '^' | '+' | '<' | '=' | '>' | '|', '=', _)
|
('-' | '!' | '*' | '/' | '&' | '%' | '^' | '+' | '<' | '=' | '>' | '|', '=', _)
|
||||||
| ('-' | '=' | '>', '>', _)
|
| ('-' | '=' | '>', '>', _)
|
||||||
|
| (_, _, Some(';'))
|
||||||
| ('<', '-', _)
|
| ('<', '-', _)
|
||||||
| (':', ':', _)
|
| (':', ':', _)
|
||||||
| ('.', '.', _)
|
| ('.', '.', _)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user