diff options
Diffstat (limited to 'crates/parser/src/grammar')
-rw-r--r-- | crates/parser/src/grammar/patterns.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/parser/src/grammar/patterns.rs b/crates/parser/src/grammar/patterns.rs index 44400c9f8..b53d5749f 100644 --- a/crates/parser/src/grammar/patterns.rs +++ b/crates/parser/src/grammar/patterns.rs | |||
@@ -1,7 +1,5 @@ | |||
1 | //! FIXME: write short doc here | 1 | //! FIXME: write short doc here |
2 | 2 | ||
3 | use expressions::block_expr; | ||
4 | |||
5 | use super::*; | 3 | use super::*; |
6 | 4 | ||
7 | pub(super) const PATTERN_FIRST: TokenSet = | 5 | pub(super) const PATTERN_FIRST: TokenSet = |
@@ -399,6 +397,6 @@ fn const_block_pat(p: &mut Parser) -> CompletedMarker { | |||
399 | assert!(p.at(T![const])); | 397 | assert!(p.at(T![const])); |
400 | let m = p.start(); | 398 | let m = p.start(); |
401 | p.bump(T![const]); | 399 | p.bump(T![const]); |
402 | block_expr(p); | 400 | expressions::block_expr(p); |
403 | m.complete(p, CONST_BLOCK_PAT) | 401 | m.complete(p, CONST_BLOCK_PAT) |
404 | } | 402 | } |