mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Remove local ungrammar dependency
This commit is contained in:
parent
2c94c4964a
commit
bdd8c0b68f
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -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"
|
||||
|
@ -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" }
|
||||
|
@ -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…
Reference in New Issue
Block a user