mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
remove Item::parse
This commit is contained in:
parent
b468bd6645
commit
f0fefde401
6 changed files with 17 additions and 22 deletions
|
@ -142,7 +142,6 @@ pub enum ParserEntryPoint {
|
|||
Expr,
|
||||
StatementOptionalSemi,
|
||||
Pattern,
|
||||
Item,
|
||||
Attr,
|
||||
}
|
||||
|
||||
|
@ -164,7 +163,6 @@ pub fn parse(inp: &Input, entry_point: ParserEntryPoint) -> Output {
|
|||
ParserEntryPoint::Path => grammar::entry::prefix::path,
|
||||
ParserEntryPoint::Expr => grammar::entry::prefix::expr,
|
||||
ParserEntryPoint::Pattern => grammar::entry::prefix::pat,
|
||||
ParserEntryPoint::Item => grammar::entry::prefix::item,
|
||||
ParserEntryPoint::StatementOptionalSemi => grammar::entry_points::stmt_optional_semi,
|
||||
ParserEntryPoint::Attr => grammar::entry_points::attr,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue