-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
syntax_ext: format: nest_level's are no more #33666
Conversation
`nest_level` is long dead since cac7a20 (PR rust-lang#14831), so is `check_positional_ok()`. Let's bid them farewell.
(rust_highfive has picked a reviewer for you, use r? to override) |
@@ -68,7 +68,6 @@ struct Context<'a, 'b:'a> { | |||
name_positions: HashMap<String, usize>, | |||
|
|||
/// Updated as arguments are consumed or methods are entered |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should delete the comment too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, sure. Note that next_arg
is still used for verifying types for implicit positional args, so I'll only delete the reference to methods.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, should I squash my commits or will it be merged as such?
@bors r+ rollup |
📌 Commit 2ea6c70 has been approved by |
…tsakis syntax_ext: format: nest_level's are no more Just noticed this while working on rust-lang#33642 and here's a quick fix, shouldn't touch anything else. It's some historic code indeed...
…tsakis syntax_ext: format: nest_level's are no more Just noticed this while working on rust-lang#33642 and here's a quick fix, shouldn't touch anything else. It's some historic code indeed...
Just noticed this while working on #33642 and here's a quick fix, shouldn't touch anything else. It's some historic code indeed...