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

Update parser initialization to match rust-lang/rust#49387 #2566

Closed
wants to merge 1 commit into from

Conversation

jsgf
Copy link

@jsgf jsgf commented Mar 26, 2018

I changed the API for ParseSess::with_span_handler() in rust-lang/rust#49387, but I'm not sure how to coordinate cross-repo changes like this.

@topecongiro
Copy link
Contributor

@jsgf Thank you for the PR! So rustfmt does not directly rely on libsyntax anymore, instead we rely on rustc-ap-syntax crate, which is basically a published version of libsyntax. Therefore I think that you need not this PR to get rust-lang/rust#49387 merged.

I am closing this for now, though we need to update rustfmt once rust-lang/rust#49387 gets merged and rustc-ap-syntax includes it in the future.

@jsgf
Copy link
Author

jsgf commented Mar 28, 2018

Ah ok. I made this change so that the rustfmt git submodule would build within the overall rust toolchain build.

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.

2 participants