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

2
Cargo.lock generated
View File

@ -1828,6 +1828,8 @@ checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c"
[[package]]
name = "ungrammar"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c11bffada52edc8f2a56160b286ea4640acf90ffcb21bded361ccb8ed43a1457"
[[package]]
name = "unicase"

View File

@ -26,4 +26,4 @@ debug = 0 # Set this to 1 or 2 to get more useful backtraces in debugger.
# chalk-ir = { path = "../chalk/chalk-ir" }
# chalk-recursive = { path = "../chalk/chalk-recursive" }
ungrammar = { path = "../ungrammar" }
# ungrammar = { path = "../ungrammar" }

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