aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-19 13:43:19 +0000
committerAleksey Kladov <[email protected]>2019-12-19 13:43:19 +0000
commit5c3c2b869085a26187c0f7c7bcd4ee58bc1075a9 (patch)
tree15bfa093d9decc4425d5763a4f912a5ecd07d482 /crates/ra_parser/src
parent8dd0e0086fc07422c9b1044b1db021cff6563214 (diff)
Fix parsing of interpolated expressions
Diffstat (limited to 'crates/ra_parser/src')
-rw-r--r--crates/ra_parser/src/grammar/expressions/atom.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_parser/src/grammar/expressions/atom.rs b/crates/ra_parser/src/grammar/expressions/atom.rs
index 09f0a2d98..6f5545a83 100644
--- a/crates/ra_parser/src/grammar/expressions/atom.rs
+++ b/crates/ra_parser/src/grammar/expressions/atom.rs
@@ -43,6 +43,7 @@ pub(super) const ATOM_EXPR_FIRST: TokenSet =
43 T!['('], 43 T!['('],
44 T!['{'], 44 T!['{'],
45 T!['['], 45 T!['['],
46 L_DOLLAR,
46 T![|], 47 T![|],
47 T![move], 48 T![move],
48 T![box], 49 T![box],