-
Notifications
You must be signed in to change notification settings - Fork 13.4k
App-lint-cability #52968
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
App-lint-cability #52968
Conversation
This comment has been minimized.
This comment has been minimized.
Andrew Chin recently pointed out (rust-lang/cargo#5846) that it's surprising that `cargo fix` (now shipping with Cargo itself!) doesn't fix very common lint warnings, which is as good of a reminder as any that we should finish rust-lang#50723.
581bde7
to
6e63b0d
Compare
Thank you! I'd really like to see rustfix tests for this, though :) |
@killercup My understanding is that there's nothing to test (in this repo), because rustc's compiletest isn't filtering by machine-applicability, as borne out by the existence of run-rustfix tests that succeed despite the relevant diagnostic being marked MaybeIncorrect. |
@zackmdavis oh, right, we should really upgrade these tests to use a newer rustfix and enable filtering! |
@bors r+ |
📌 Commit 6e63b0d has been approved by |
…ebank App-lint-cability @eminence recently pointed out (rust-lang/cargo#5846) that it's surprising that `cargo fix` (now shipping with Cargo itself!) doesn't fix very common lint warnings, which is as good of a reminder as any that we should finish rust-lang#50723. (Previously, we did this on the librustc and libsyntax crates in rust-lang#50724. I filed rust-lang/this-week-in-rust#685 in hopes of recruiting new contributors to do the rest.) r? @estebank
Rollup of 14 pull requests Successful merges: - #51919 (Provide `{to,from}_{ne,le,be}_bytes` functions on integers) - #52940 (Align 6-week cycle check with beta promotion instead of stable release.) - #52968 (App-lint-cability) - #52969 (rustbuild: fix local_rebuild) - #52995 (Remove unnecessary local in await! generator) - #52996 (RELEASES.md: fix the `hash_map::Entry::or_default` link) - #53001 (privacy: Fix an ICE in `path_is_private_type`) - #53003 (Stabilize --color and --error-format options in rustdoc) - #53022 (volatile operations docs: clarify that this does not help wrt. concurrency) - #53024 (Specify reentrancy gurantees of `Once::call_once`) - #53041 (Fix invalid code css rule) - #53047 (Make entire row of doc search results clickable) - #53050 (Make left column of rustdoc search results narrower) - #53062 (Remove redundant field names in structs)
@eminence recently pointed out (rust-lang/cargo#5846) that it's
surprising that
cargo fix
(now shipping with Cargo itself!) doesn'tfix very common lint warnings, which is as good of a reminder as any
that we should finish #50723.
(Previously, we did this on the librustc and libsyntax crates in #50724. I filed rust-lang/this-week-in-rust#685 in hopes of recruiting new contributors to do the rest.)
r? @estebank