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

Make parse_ident public #51498

Merged
merged 1 commit into from
Jun 12, 2018
Merged

Make parse_ident public #51498

merged 1 commit into from
Jun 12, 2018

Conversation

topecongiro
Copy link
Contributor

parse_ident was made private in #51265. In rustfmt the method is used to create a custom parser for macro call.

@rust-highfive
Copy link
Collaborator

r? @petrochenkov

(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 Jun 11, 2018
@topecongiro
Copy link
Contributor Author

r? @Mark-Simulacrum

@petrochenkov
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Jun 11, 2018

📌 Commit ed74b0b 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 Jun 11, 2018
@mati865
Copy link
Contributor

mati865 commented Jun 11, 2018

Rocket is depending on parse_seq_to_end, other crates probably depend on yet another methods.

So to not make everything public again maybe it would be worth to create curated list of methods that should be made public. Everything else would stay as it is and broken crates will need to be fixed.

@jebrosen
Copy link
Contributor

Rocket uses at least parse_seq_to_end and parse_path, and I am currently verifying that there are no more. The plan for Rocket is to move away from libsyntax entirely, but that might take a while.

Would another pull request for Rocket's desired public methods be welcome now, or should we try to accumulate a broad list first?

@Mark-Simulacrum
Copy link
Member

Opening a PR now is fine, we'll just roll them up together.

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jun 11, 2018
…ochenkov

Make parse_ident public

`parse_ident` was made private in rust-lang#51265. In rustfmt the method is used to create a custom parser for macro call.
bors added a commit that referenced this pull request Jun 11, 2018
Rollup of 4 pull requests

Successful merges:

 - #50617 (Fix extern prelude failure in rustdoc)
 - #51442 ([futures] add a few blanket impls to std)
 - #51498 (Make parse_ident public)
 - #51502 (Make parse_seq_to_end and parse_path public)

Failed merges:
PSeitz added a commit to PSeitz/rust that referenced this pull request Jun 11, 2018
span_fatal and parse_block  were made private in rust-lang#51265. These methods are used in stainless.

Related rust-lang#51498 rust-lang#51504
@bors
Copy link
Contributor

bors commented Jun 12, 2018

⌛ Testing commit ed74b0b with merge 1abb4ef...

bors added a commit that referenced this pull request Jun 12, 2018
Make parse_ident public

`parse_ident` was made private in #51265. In rustfmt the method is used to create a custom parser for macro call.
@bors
Copy link
Contributor

bors commented Jun 12, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: petrochenkov
Pushing 1abb4ef to master...

@bors bors merged commit ed74b0b into rust-lang:master Jun 12, 2018
@topecongiro topecongiro deleted the pub-parse_ident branch June 12, 2018 05:56
bors added a commit that referenced this pull request Jun 12, 2018
Make span_fatal and parse_block public

span_fatal and parse_block  were made private in #51265. These methods are used in stainless.

Related #51498 #51504
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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.

7 participants