aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/grammar/expressions
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/grammar/expressions')
-rw-r--r--crates/ra_syntax/src/grammar/expressions/atom.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/grammar/expressions/atom.rs b/crates/ra_syntax/src/grammar/expressions/atom.rs
index 5072d2c49..23f9b05bb 100644
--- a/crates/ra_syntax/src/grammar/expressions/atom.rs
+++ b/crates/ra_syntax/src/grammar/expressions/atom.rs
@@ -1,5 +1,4 @@
1use super::*; 1use super::*;
2use crate::grammar::paths::PATH_FIRST;
3 2
4// test expr_literals 3// test expr_literals
5// fn foo() { 4// fn foo() {
@@ -37,7 +36,7 @@ pub(crate) fn literal(p: &mut Parser) -> Option<CompletedMarker> {
37} 36}
38 37
39// E.g. for after the break in `if break {}`, this should not match 38// E.g. for after the break in `if break {}`, this should not match
40pub(super) const ATOM_EXPR_FIRST: TokenSet = LITERAL_FIRST.union(PATH_FIRST).union(token_set![ 39pub(super) const ATOM_EXPR_FIRST: TokenSet = LITERAL_FIRST.union(paths::PATH_FIRST).union(token_set![
41 L_PAREN, 40 L_PAREN,
42 L_CURLY, 41 L_CURLY,
43 L_BRACK, 42 L_BRACK,