Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax_ext: format: nest_level's are no more #33666

Merged
merged 2 commits into from May 18, 2016

Conversation

xen0n
Copy link
Contributor

@xen0n xen0n commented May 16, 2016

Just noticed this while working on #33642 and here's a quick fix, shouldn't touch anything else. It's some historic code indeed...

`nest_level` is long dead since cac7a20
(PR rust-lang#14831), so is `check_positional_ok()`. Let's bid them farewell.
@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(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
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Contributor Author

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?

@nikomatsakis
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 17, 2016

📌 Commit 2ea6c70 has been approved by nikomatsakis

eddyb added a commit to eddyb/rust that referenced this pull request May 17, 2016
…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...
Manishearth added a commit to Manishearth/rust that referenced this pull request May 18, 2016
…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...
bors added a commit that referenced this pull request May 18, 2016
Rollup of 5 pull requests

- Successful merges: #33656, #33666, #33673, #33675, #33695
- Failed merges:
@bors bors merged commit 2ea6c70 into rust-lang:master May 18, 2016
@xen0n xen0n deleted the no-more-nest-levels branch January 18, 2017 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants