-
Notifications
You must be signed in to change notification settings - Fork 1.6k
no mk_sp
in codemap
: compiling with latest rustc nightly fails
#1646
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
Comments
Yea, we need to rustup. Can someone please take this? |
Is there a temporary workaround? If I use the previous version of rust nightly, would I be able to compile clippy? |
Use the nightly from 2017-03-28 |
adds a new build job to the matrix while clippy fixes this issue: https://github.com/Manishearth/rust-clippy/issues/1646
adds a new build job to the matrix while clippy fixes this issue: https://github.com/Manishearth/rust-clippy/issues/1646
Looking at the history of src/libsyntax/codemap.rs, it seems commit rust-lang/rust@f08d5ad no longer publishes mk_sp. I figure that syntax_pos::Span should be used instead. mk_sp is now used as below in in src/libsyntax/parse/lexer/mod.rs:
Will try to whip out a P.R. in a few minutes. |
we have a PR partially fixing this. But we broke a lint, so I don't want to publish yet |
Awesome! Thanks for the quick reply. |
Clippy has been updated and published for the latest nightly. Sorry about the long wait |
I'm seeing lots of these errors:
Here's my Travis log:
https://travis-ci.org/atodorov/bdcs-api-rs/jobs/217103465
The text was updated successfully, but these errors were encountered: