mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
rename bump -> bump_any
This commit is contained in:
parent
c3d96f64ef
commit
e2b378ef7e
16 changed files with 132 additions and 132 deletions
|
@ -44,7 +44,7 @@ fn path(p: &mut Parser, mode: Mode) {
|
|||
};
|
||||
if p.at(T![::]) && !use_tree {
|
||||
let path = qual.precede(p);
|
||||
p.bump();
|
||||
p.bump_any();
|
||||
path_segment(p, mode, false);
|
||||
let path = path.complete(p, PATH);
|
||||
qual = path;
|
||||
|
@ -80,7 +80,7 @@ fn path_segment(p: &mut Parser, mode: Mode, first: bool) {
|
|||
}
|
||||
// test crate_path
|
||||
// use crate::foo;
|
||||
T![self] | T![super] | T![crate] => p.bump(),
|
||||
T![self] | T![super] | T![crate] => p.bump_any(),
|
||||
_ => {
|
||||
p.err_recover("expected identifier", items::ITEM_RECOVERY_SET);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue