-
-
Notifications
You must be signed in to change notification settings - Fork 3k
fix(install): Run cargo lints like rustc lints #17107
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 |
|---|---|---|
|
|
@@ -171,6 +171,8 @@ fn github_works_cargo_install() { | |
| .with_stderr_data(str![[r#" | ||
| [UPDATING] git repository `https://github.com/rust-lang/bitflags.git` | ||
| [INSTALLING] bitflags-smoke-test [..] | ||
| [WARNING] Cargo.toml: unused manifest key: dependencies.bitflags.all-features | ||
| [WARNING] `bitflags-smoke-test` (manifest) generated 1 warning | ||
|
Comment on lines
+174
to
+175
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks like a bug in its manifest.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would say that is something for us to look into separately. |
||
| [LOCKING] 1 package to latest compatible version | ||
| ... | ||
| [INSTALLED] package [..] | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
Note: there is an existing bug in
cargo install --gitwhere we download the git source and then load it as a path source so it is considered local and rustc and cargo lints are shown.View changes since the review
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.
See
cargo/src/cargo/ops/cargo_install.rs
Lines 925 to 926 in d3b55f8
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 finding. Kinda related to #13259