dead code

This commit is contained in:
Aleksey Kladov 2021-12-27 18:04:13 +03:00
parent afffa096f6
commit 8794892432

View file

@ -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,
};