aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-19 13:45:10 +0000
committerGitHub <[email protected]>2019-12-19 13:45:10 +0000
commite17dcc45a679c025e79639bd2d22c3b0f20953f9 (patch)
tree15bfa093d9decc4425d5763a4f912a5ecd07d482 /crates/ra_parser
parent8dd0e0086fc07422c9b1044b1db021cff6563214 (diff)
parent5c3c2b869085a26187c0f7c7bcd4ee58bc1075a9 (diff)
Merge #2595
2595: Fix parsing of interpolated expressions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_parser')
-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],