Skip to content

Commit

Permalink
chore: remove lint pointer_structural_match
Browse files Browse the repository at this point in the history
lint `pointer_structural_match` has been removed:
converted into hard error,
see [RFC #3535][3535] for more information.

[3535]: https://rust-lang.github.io/rfcs/3535-constants-in-patterns.html
  • Loading branch information
LeoniePhiline committed Nov 21, 2024
1 parent eb91913 commit ded6e39
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#![deny(
// fuzzy_provenance_casts, UNSTABLE: https://github.com/rust-lang/rust/issues/95228
// lossy_provenance_casts, UNSTABLE: https://github.com/rust-lang/rust/issues/95228
pointer_structural_match,
unsafe_code // Exceptions must be discussed and deemed indispensable and use `#![deny(invalid_reference_casting, unsafe_op_in_unsafe_fn)]`.
)]
// Opt-in to allowed-by-default clippy lints
Expand Down

0 comments on commit ded6e39

Please sign in to comment.