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

Clippy 0.79 does not compile with rustc nightly 2016-07-24 #1120

Closed
lily-mara opened this issue Jul 26, 2016 · 2 comments
Closed

Clippy 0.79 does not compile with rustc nightly 2016-07-24 #1120

lily-mara opened this issue Jul 26, 2016 · 2 comments

Comments

@lily-mara
Copy link

When I try compiling a project with clippy using rustc nightly 2016-07-24, I get the following error:

   Compiling clippy_lints v0.0.79
/Users/nm46057/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/clippy_lints-0.0.79/src/utils/mod.rs:500:14: 500:35 error: no associated item named `from_spans` found for type `syntax::codemap::MultiSpan` in the current scope 
/Users/nm46057/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/clippy_lints-0.0.79/src/utils/mod.rs:500         msp: MultiSpan::from_spans(sugg.iter().map(|&(span, _)| span).collect()),
                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error 
error: Could not compile `clippy_lints`.

To learn more, run the command again with --verbose.
@mcarton
Copy link
Member

mcarton commented Jul 26, 2016

Thanks for the report. I'm aware of that, I just don't know how to fix it yet.
In the mean time, rustc 1.12.0-nightly (936bfea94 2016-07-20) works.
Cc https://github.com/Manishearth/rust-clippy/pull/1119.

@bfops
Copy link

bfops commented Aug 1, 2016

Woo hoo, thanks for fixing!

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

No branches or pull requests

3 participants