mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
move path
This commit is contained in:
parent
c5d8a9b341
commit
369001615f
3 changed files with 12 additions and 9 deletions
|
@ -72,6 +72,9 @@ pub(crate) mod entry {
|
|||
pub(crate) fn expr(p: &mut Parser) {
|
||||
let _ = expressions::expr(p);
|
||||
}
|
||||
pub(crate) fn path(p: &mut Parser) {
|
||||
let _ = paths::type_path(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -85,12 +88,6 @@ pub(crate) mod entry_points {
|
|||
m.complete(p, SOURCE_FILE);
|
||||
}
|
||||
|
||||
pub(crate) use paths::type_path as path;
|
||||
|
||||
pub(crate) fn expr(p: &mut Parser) {
|
||||
let _ = expressions::expr(p);
|
||||
}
|
||||
|
||||
pub(crate) fn stmt_optional_semi(p: &mut Parser) {
|
||||
expressions::stmt(p, expressions::StmtWithSemi::Optional, false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue