Skip to content

Suggest an appropriate token when encountering pub Ident<'a> #56248

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

Merged
merged 2 commits into from
Dec 8, 2018

Conversation

estebank
Copy link
Contributor

Fix #55403. Follow up to #45997.

@rust-highfive
Copy link
Contributor

r? @michaelwoerister

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 26, 2018
@michaelwoerister
Copy link
Member

r? @Centril (you seem to have already taken a look at this)

@Centril
Copy link
Contributor

Centril commented Nov 30, 2018

I primarily had a look at the test files; but I'd like someone else to look at the implementation bits so I'll give r? back to you. :)

r? @michaelwoerister

@estebank
Copy link
Contributor Author

estebank commented Dec 3, 2018

There's a case that isn't handled by this PR (filed #56473):

trait T {
    pub fn foo(&self);
}

@estebank
Copy link
Contributor Author

estebank commented Dec 6, 2018

ping @michaelwoerister

@michaelwoerister
Copy link
Member

Hm, I don't know the parser very well. r? @petrochenkov maybe? Do we have a parser expert among the reviewers?

@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 8, 2018

📌 Commit 2645871 has been approved by petrochenkov

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 8, 2018
@estebank
Copy link
Contributor Author

estebank commented Dec 8, 2018

@bors rollup

Centril added a commit to Centril/rust that referenced this pull request Dec 8, 2018
…henkov

Suggest an appropriate token when encountering `pub Ident<'a>`

Fix rust-lang#55403. Follow up to rust-lang#45997.
bors added a commit that referenced this pull request Dec 8, 2018
Rollup of 6 pull requests

Successful merges:

 - #56248 (Suggest an appropriate token when encountering `pub Ident<'a>`)
 - #56597 (Improve the usage message for `-Z dump-mir`.)
 - #56599 (codegen: Fix va_list - aarch64 iOS/Windows)
 - #56602 (Fix the just-introduced ptr::hash docs)
 - #56620 (resolve: Reduce some clutter in import ambiguity errors)
 - #56621 (Add missing comma in Generators)

Failed merges:

r? @ghost
@bors bors merged commit 2645871 into rust-lang:master Dec 8, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants