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

Fix for Rust 2018 RC1 #31

Merged
merged 4 commits into from
Sep 22, 2018
Merged

Fix for Rust 2018 RC1 #31

merged 4 commits into from
Sep 22, 2018

Conversation

LukasKalbertodt
Copy link
Member

@LukasKalbertodt LukasKalbertodt commented Sep 20, 2018

I started to fix some things to get this crate building with the new RC1 that was just released.

EDIT: ok, problem solved, I guess. Original comment message in edit history.

@LukasKalbertodt
Copy link
Member Author

I asked/opened a bug report now: rust-lang/rust#54418. Let's see what this results in.

@LukasKalbertodt
Copy link
Member Author

I thought about adding testing with beta to .travis.yml, but I guess it's not worth it yet. In particular, because we can't run the tests on beta. So I guess this could be merged.

@LukasKalbertodt LukasKalbertodt changed the title WIP: Fix for Rust 2018 RC1 Fix for Rust 2018 RC1 Sep 21, 2018
@LukasKalbertodt LukasKalbertodt mentioned this pull request Sep 21, 2018
7 tasks
@@ -101,7 +101,7 @@ crate fn find_suitable_param_names(trait_def: &ItemTrait) -> (Ident, Lifetime) {
/// but this is cleaner and just the correct thing to do.
#[cfg(feature = "nightly")]
fn param_span() -> Span2 {
::proc_macro::Span::def_site().into()
crate::proc_macro::Span::def_site().into()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I think I've hit this same issue in recent 2018 previews with the test crate.

Copy link
Member

@KodrAus KodrAus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thanks @LukasKalbertodt

@KodrAus KodrAus merged commit 6a50edc into auto-impl-rs:master Sep 22, 2018
@LukasKalbertodt LukasKalbertodt deleted the fix-for-2018-rc1 branch September 22, 2018 14:01
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