-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fix for Rust 2018 RC1 #31
Conversation
I asked/opened a bug report now: rust-lang/rust#54418. Let's see what this results in. |
See this for more information: rust-lang/rust#54418
I thought about adding testing with beta to |
@@ -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() |
There was a problem hiding this comment.
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.
There was a problem hiding this 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
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.