mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Remove local ungrammar dependency
This commit is contained in:
parent
2c94c4964a
commit
bdd8c0b68f
3 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue