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
|
@ -39,7 +39,7 @@ fn list_(p: &mut Parser, flavor: Flavor) {
|
|||
let (bra, ket) = if flavor.type_required() { (T!['('], T![')']) } else { (T![|], T![|]) };
|
||||
assert!(p.at(bra));
|
||||
let m = p.start();
|
||||
p.bump();
|
||||
p.bump_any();
|
||||
if flavor.type_required() {
|
||||
// test self_param_outer_attr
|
||||
// fn f(#[must_use] self) {}
|
||||
|
@ -146,7 +146,7 @@ fn opt_self_param(p: &mut Parser) {
|
|||
};
|
||||
m = p.start();
|
||||
for _ in 0..n_toks {
|
||||
p.bump();
|
||||
p.bump_any();
|
||||
}
|
||||
}
|
||||
m.complete(p, SELF_PARAM);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue