Update clippy via commit hashes instead of version numbers#893
Update clippy via commit hashes instead of version numbers#893oli-obk wants to merge 2 commits intorust-lang:masterfrom
Conversation
|
We should NOT merge this until we know whether this will be a problem for the rls submodule in rustc. With clippy master I am getting
I fear that even though clippy is an optional dependency, this might still be hit waiting for rust-lang/rust#51322 to come to any conclusion |
How is this happening? Is this due to an update in Clippy so we'd be hit when we got the version with that in or is it inherently due to changing to a rev rather than a version? It seems weird that we get a Cargo error like this even when not including Clippy (which presumably we aren't in the Rust repo). |
|
I don't know if you'd hit this. But the rustc repo is hitting it just with clippy, because it uses the previous beta cargo to build all its crates. This is happening because clippy is on the 2018 edition |
|
@oli-obk looking at rust-lang/rust#51322 and rust-lang/rust#51410 I assume everything is in order and we're safe to switch over to pinning clippy to a commit hash? |
|
I want to try updating the clippy submodule before we go ahead with this |
|
We need to wait for the next beta branch in order to update the stage 0 cargo |
|
If rust-lang/rust#51122 gets merged this PR will need updating. |
|
Obsoleted by 6b4238b |
fixes #888