Skip to content

Adjust to libsyntax API change #1

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

Merged
merged 1 commit into from
Aug 25, 2015

Conversation

dgrunwald
Copy link
Contributor

This fixes a compiler error on current nightly:

src/lib.rs:36:48: 36:67 error: mismatched types:
 expected `&str`,
    found `syntax::parse::token::InternedString`
(expected &-ptr,
    found struct `syntax::parse::token::InternedString`) [E0308]
src/lib.rs:36                             new_ident.push_str(ident.name.as_str());
                                                             ^~~~~~~~~~~~~~~~~~~

@dgrunwald
Copy link
Contributor Author

Could you apply this fix and publish a new version of the package on crates.io?

I'm using interpolate_idents in rust-cpython and would like to release a new version that works with the latest rustc nightly.

@SkylerLipthay
Copy link
Owner

I'm genuinely didn't see this until now! I'm very sorry for the delay, I'll merge this immediately. Thank you for the PR!

SkylerLipthay added a commit that referenced this pull request Aug 25, 2015
Adjust to libsyntax API change
@SkylerLipthay SkylerLipthay merged commit 3ff667c into SkylerLipthay:master Aug 25, 2015
@SkylerLipthay
Copy link
Owner

Published to crates.io. Thanks again! 😄

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