Skip to content
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

Remove allow(unknown_lints) and clippy::if_then_panic #6000

Merged

Conversation

waywardmonkeys
Copy link
Contributor

Description
These were present for 2 reasons:

  • Allowing the use of clippy::derivable_impls while it was nightly only. This is no longer nightly only for a long time.
  • Allowing the use of clippy::if_then_panic while it was nightly only. This was renamed to clippy::manual_assert in Rust 1.59 and doesn't trigger within the repository.

Testing
CI passes.

Checklist

  • Run cargo fmt.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
    • --target wasm32-unknown-emscripten
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

These were present for 2 reasons:

* Allowing the use of `clippy::derivable_impls` while it was
  nightly only. This is no longer nightly only for a long time.
* Allowing the use of `clippy::if_then_panic` while it was
  nightly only. This was renamed to `clippy::manual_assert`
  in Rust 1.59 and doesn't trigger within the repository.
@waywardmonkeys waywardmonkeys requested a review from a team as a code owner July 20, 2024 03:22
@cwfitzgerald cwfitzgerald enabled auto-merge (squash) July 20, 2024 03:32
@cwfitzgerald cwfitzgerald merged commit cf57982 into gfx-rs:trunk Jul 20, 2024
25 checks passed
@waywardmonkeys waywardmonkeys deleted the remove-allow-unknown-lints branch July 20, 2024 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants