diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2021-12-27 18:04:13 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2021-12-28 17:00:55 +0300 |
| commit | 8794892432ab08c31b9d35e0aa41a3952198afa1 (patch) | |
| tree | c0ce21605605a5a8996640772a6db524dff4c14f | |
| parent | afffa096f6f83c9c7c800e369fd74bd6a8015049 (diff) | |
| download | rust-8794892432ab08c31b9d35e0aa41a3952198afa1.tar.gz rust-8794892432ab08c31b9d35e0aa41a3952198afa1.zip | |
dead code
| -rw-r--r-- | crates/parser/src/lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/parser/src/lib.rs b/crates/parser/src/lib.rs index 23ce233dfd4..6827cf8bf1a 100644 --- a/crates/parser/src/lib.rs +++ b/crates/parser/src/lib.rs @@ -144,7 +144,6 @@ pub enum ParserEntryPoint { Type, Pattern, Item, - MetaItem, Attr, } @@ -168,7 +167,6 @@ pub fn parse(inp: &Input, entry_point: ParserEntryPoint) -> Output { ParserEntryPoint::Type => grammar::entry::prefix::ty, ParserEntryPoint::Pattern => grammar::entry::prefix::pat, ParserEntryPoint::Item => grammar::entry::prefix::item, - ParserEntryPoint::MetaItem => grammar::entry::prefix::meta_item, ParserEntryPoint::StatementOptionalSemi => grammar::entry_points::stmt_optional_semi, ParserEntryPoint::Attr => grammar::entry_points::attr, }; |
