Remove local ungrammar dependency

This commit is contained in:
Lukas Wirth 2020-12-23 11:22:36 +01:00
parent 2c94c4964a
commit bdd8c0b68f
3 changed files with 4 additions and 4 deletions

View file

@ -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)
}