move pat to prefix entry points
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user