diff options
author | pcpthm <[email protected]> | 2019-03-18 05:34:08 +0000 |
---|---|---|
committer | pcpthm <[email protected]> | 2019-03-18 05:34:08 +0000 |
commit | 76075c74103b3204ebc1bde54a330629d9e00811 (patch) | |
tree | 316ffdffb672856e7d897736e280261a11a07efd /crates/ra_parser/src/grammar/expressions.rs | |
parent | 3d9c2beb8e0d4e0fbaded7dac259cadf7616a3ad (diff) |
Use Marker argument for item parsers
- Fix pub_expr
- Fix incorrect parsing of crate::path
Diffstat (limited to 'crates/ra_parser/src/grammar/expressions.rs')
-rw-r--r-- | crates/ra_parser/src/grammar/expressions.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/ra_parser/src/grammar/expressions.rs b/crates/ra_parser/src/grammar/expressions.rs index 6d3e379a3..d8e825f46 100644 --- a/crates/ra_parser/src/grammar/expressions.rs +++ b/crates/ra_parser/src/grammar/expressions.rs | |||
@@ -67,8 +67,6 @@ pub(crate) fn expr_block_contents(p: &mut Parser) { | |||
67 | Err(m) => m, | 67 | Err(m) => m, |
68 | }; | 68 | }; |
69 | 69 | ||
70 | // test pub_expr | ||
71 | // fn foo() { pub 92; } //FIXME | ||
72 | if has_attrs { | 70 | if has_attrs { |
73 | m.abandon(p); | 71 | m.abandon(p); |
74 | p.error("expected a let statement or an item after attributes in block"); | 72 | p.error("expected a let statement or an item after attributes in block"); |