From bdd8c0b68f097c7d1a65a5b85b94f0a79affa506 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Wed, 23 Dec 2020 11:22:36 +0100 Subject: Remove local ungrammar dependency --- crates/parser/src/grammar/patterns.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crates') 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 @@ //! FIXME: write short doc here -use expressions::block_expr; - use super::*; pub(super) const PATTERN_FIRST: TokenSet = @@ -399,6 +397,6 @@ fn const_block_pat(p: &mut Parser) -> CompletedMarker { assert!(p.at(T![const])); let m = p.start(); p.bump(T![const]); - block_expr(p); + expressions::block_expr(p); m.complete(p, CONST_BLOCK_PAT) } -- cgit v1.2.3