-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[wip] Fix x test clippy --stage 0
#96798
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[package] | ||
name = "ui-test-dependencies" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
# clippy_utils = { path = "../clippy_utils" } | ||
|
||
regex = "1.5" | ||
derive-new = "0.5" | ||
if_chain = "1.0" | ||
itertools = "0.10.1" | ||
quote = "1.0" | ||
serde = { version = "1.0.125", features = ["derive"] } | ||
syn = { version = "1.0", features = ["full"] } | ||
futures = "0.3" | ||
parking_lot = "0.12" | ||
tokio = { version = "1", features = ["io-util"] } | ||
rustc-semver = "1.1" |
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.
Does Clippy still need all of those dependencies in the top level Cargo.toml or is it enough to have them all in
ui-test-dependencies
?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.
Good callout :) I think it's enough to only have them in ui-test-dependencies? but there's a comment in compiletest that makes me wary:
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.
I just tested it and with
binary-dep-info
they indeed need to stay in the top-levelCargo.toml