mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
move pat to prefix entry points
This commit is contained in:
parent
f10f51833c
commit
5636bef2ec
3 changed files with 17 additions and 5 deletions
|
@ -61,6 +61,10 @@ pub(crate) mod entry {
|
|||
pub(crate) fn stmt(p: &mut Parser) {
|
||||
expressions::stmt(p, expressions::StmtWithSemi::No, true);
|
||||
}
|
||||
|
||||
pub(crate) fn pat(p: &mut Parser) {
|
||||
patterns::pattern_single(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -76,8 +80,6 @@ pub(crate) mod entry_points {
|
|||
|
||||
pub(crate) use paths::type_path as path;
|
||||
|
||||
pub(crate) use patterns::pattern_single as pattern;
|
||||
|
||||
pub(crate) use types::type_;
|
||||
|
||||
pub(crate) fn expr(p: &mut Parser) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue