-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Implement unused crate lint for 2018 edition #69203
Closed
Aaron1011
wants to merge
9
commits into
rust-lang:master
from
Aaron1011:feature/final-lint-unused-crate
Closed
Implement unused crate lint for 2018 edition #69203
Aaron1011
wants to merge
9
commits into
rust-lang:master
from
Aaron1011:feature/final-lint-unused-crate
Commits on Mar 12, 2020
-
Add allow-by-default lint UNUSED_EXTERN_OPTIONS
This lint fires for any unused crates in the Rust 2018 extern prelude (e.g. passed in via `--extern`) For now, it is allow-by-default to prevent false positives in multi-target crate. See rust-lang#69203 (comment) for more details, and rust-lang/cargo#1982 for the tracking issue.
Configuration menu - View commit details
-
Copy full SHA for 278ea18 - Browse repository at this point
Copy the full SHA 278ea18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54034ce - Browse repository at this point
Copy the full SHA 54034ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4170c4 - Browse repository at this point
Copy the full SHA e4170c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cfec9d - Browse repository at this point
Copy the full SHA 3cfec9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a87d6ba - Browse repository at this point
Copy the full SHA a87d6baView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfd75fe - Browse repository at this point
Copy the full SHA cfd75feView commit details -
Use
opt_def_id
when pretty-printing typesThis fixes an ICE for items without a `DefId`
Configuration menu - View commit details
-
Copy full SHA for df71d38 - Browse repository at this point
Copy the full SHA df71d38View commit details -
Provide
used_crates
inResolver.clone_outputs
This is necessary for Rustdoc to work, since we never end up calling `Resolver.into_outputs`
Configuration menu - View commit details
-
Copy full SHA for bb0dac2 - Browse repository at this point
Copy the full SHA bb0dac2View commit details
Commits on Mar 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8bfbaf6 - Browse repository at this point
Copy the full SHA 8bfbaf6View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.