-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Update Clippy dependencies #90500
Update Clippy dependencies #90500
Conversation
* semver = "0.11" -> "1.0" * cargo_metadata = "0.12" -> "0.14"
Some changes occurred in src/tools/clippy. cc @rust-lang/clippy |
(rust-highfive has picked a reviewer for you, use r? to override) |
Thanks! Glad to see that we can now also update those deps without causing too much havoc in the |
This PR only includes Clippy changes and the only packages touched in the @bors r+ |
📌 Commit fd41336 has been approved by |
…r=flip1995 Update Clippy dependencies Clippy has two outdated dependencies, where one indirect dependency has been flagged by rustsec for dropping a lifetime. See [RUSTSEC-2020-0146](https://rustsec.org/advisories/RUSTSEC-2020-0146). This PR updates these dependencies. With previous dependency updates, it was tried to prevent duplicates in the `Cargo.lock` file of rust-lang/rust. I've tried to keep this in mind with this update. * Dependency `semver` * Used in `src/tools/cargo/Cargo.toml` as version `1.0.3` * Used in `src/tools/rust-analyzer/crates/project_model/Cargo.toml` as version `1` * Updated in Clippy from `0.11` to `1.0` (Clippy usually defines the major and minor patch version). The `Cargo.lock` file lists `1.0.3` which is one patch version behind the most recent one but prevents a duplicate with cargo's pinned version. * Dependency `cargo_metadata` * Used in several tools as `0.14` * Used in `src/tools/tidy` and `src/tools/rls` as `0.12` * Updated in Clippy from `0.12` to `0.14` All updates to the `Cargo.lock` have been done automatically by `x.py`. There are still some tools with these outdated dependencies. Clippy didn't require any changes, and it would be likely that the others could also be updated without any problem. Let me know if I should try to update them as well 🙃. Keep up the good work, whoever is reading this 🦀 --- For Clippy: changelog: none
…askrgr Rollup of 6 pull requests Successful merges: - rust-lang#90084 (Make printed message match the code comment) - rust-lang#90354 (Document clippy on nightly-rustc) - rust-lang#90417 (stabilize `relaxed_struct_unsize`) - rust-lang#90472 (Clarify what to do with accepted feature gates) - rust-lang#90500 (Update Clippy dependencies) - rust-lang#90502 (Split doc_cfg and doc_auto_cfg features) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…r=flip1995 Update Clippy dependencies Clippy has two outdated dependencies, where one indirect dependency has been flagged by rustsec for dropping a lifetime. See [RUSTSEC-2020-0146](https://rustsec.org/advisories/RUSTSEC-2020-0146). This PR updates these dependencies. With previous dependency updates, it was tried to prevent duplicates in the `Cargo.lock` file of rust-lang/rust. I've tried to keep this in mind with this update. * Dependency `semver` * Used in `src/tools/cargo/Cargo.toml` as version `1.0.3` * Used in `src/tools/rust-analyzer/crates/project_model/Cargo.toml` as version `1` * Updated in Clippy from `0.11` to `1.0` (Clippy usually defines the major and minor patch version). The `Cargo.lock` file lists `1.0.3` which is one patch version behind the most recent one but prevents a duplicate with cargo's pinned version. * Dependency `cargo_metadata` * Used in several tools as `0.14` * Used in `src/tools/tidy` and `src/tools/rls` as `0.12` * Updated in Clippy from `0.12` to `0.14` All updates to the `Cargo.lock` have been done automatically by `x.py`. There are still some tools with these outdated dependencies. Clippy didn't require any changes, and it would be likely that the others could also be updated without any problem. Let me know if I should try to update them as well 🙃. Keep up the good work, whoever is reading this 🦀 --- For Clippy: changelog: none
Clippy has two outdated dependencies, where one indirect dependency has been flagged by rustsec for dropping a lifetime. See RUSTSEC-2020-0146. This PR updates these dependencies.
With previous dependency updates, it was tried to prevent duplicates in the
Cargo.lock
file of rust-lang/rust. I've tried to keep this in mind with this update.semver
src/tools/cargo/Cargo.toml
as version1.0.3
src/tools/rust-analyzer/crates/project_model/Cargo.toml
as version1
0.11
to1.0
(Clippy usually defines the major and minor patch version). TheCargo.lock
file lists1.0.3
which is one patch version behind the most recent one but prevents a duplicate with cargo's pinned version.cargo_metadata
0.14
src/tools/tidy
andsrc/tools/rls
as0.12
0.12
to0.14
All updates to the
Cargo.lock
have been done automatically byx.py
.There are still some tools with these outdated dependencies. Clippy didn't require any changes, and it would be likely that the others could also be updated without any problem. Let me know if I should try to update them as well 🙃.
Keep up the good work, whoever is reading this 🦀
For Clippy:
changelog: none