Skip to content

Commit bdd8c0b

Browse files
committed
Remove local ungrammar dependency
1 parent 2c94c49 commit bdd8c0b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ debug = 0 # Set this to 1 or 2 to get more useful backtraces in debugger.
2626
# chalk-ir = { path = "../chalk/chalk-ir" }
2727
# chalk-recursive = { path = "../chalk/chalk-recursive" }
2828

29-
ungrammar = { path = "../ungrammar" }
29+
# ungrammar = { path = "../ungrammar" }

crates/parser/src/grammar/patterns.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! FIXME: write short doc here
22
3-
use expressions::block_expr;
4-
53
use super::*;
64

75
pub(super) const PATTERN_FIRST: TokenSet =
@@ -399,6 +397,6 @@ fn const_block_pat(p: &mut Parser) -> CompletedMarker {
399397
assert!(p.at(T![const]));
400398
let m = p.start();
401399
p.bump(T![const]);
402-
block_expr(p);
400+
expressions::block_expr(p);
403401
m.complete(p, CONST_BLOCK_PAT)
404402
}

0 commit comments

Comments
 (0)