Skip to content

Fix for Rust 2018 RC1#31

Merged
KodrAus merged 4 commits intoauto-impl-rs:masterfrom
LukasKalbertodt:fix-for-2018-rc1
Sep 22, 2018
Merged

Fix for Rust 2018 RC1#31
KodrAus merged 4 commits intoauto-impl-rs:masterfrom
LukasKalbertodt:fix-for-2018-rc1

Conversation

@LukasKalbertodt
Copy link
Copy Markdown
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
Copy Markdown
Member Author

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

@LukasKalbertodt
Copy link
Copy Markdown
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
Comment thread src/analyze.rs
#[cfg(feature = "nightly")]
fn param_span() -> Span2 {
::proc_macro::Span::def_site().into()
crate::proc_macro::Span::def_site().into()
Copy link
Copy Markdown
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
Copy Markdown
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