Skip to content

Commit

Permalink
Ignore clippy::{manual-c-str-literals,ref-as-ptr}
Browse files Browse the repository at this point in the history
Both require features that recently stablised, so let's wait a little
while with these suggestions.
  • Loading branch information
Thomasdezeeuw committed Mar 30, 2024
1 parent ed4c295 commit f7569be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ check:
# * `single-match-else`: prefer match statements over if statements.
# * `use-self`: strongly disagree.
# TODO: resolve `cast-possible-truncation` errors.
# TODO: resolve `manual-c-str-listerals` and `ref-as-ptr` once the related
# features are a little older (1.77 and 1.76).
lint: clippy
clippy:
cargo clippy --all-features --workspace -- \
Expand All @@ -48,13 +50,15 @@ clippy:
--deny clippy::cargo \
--allow clippy::doc-markdown \
--allow clippy::equatable-if-let \
--allow clippy::manual-c-str-literals \
--allow clippy::missing-errors-doc \
--allow clippy::missing-panics-doc \
--allow clippy::must-use-candidate \
--allow clippy::needless-lifetimes \
--allow clippy::new-without-default \
--allow clippy::option-if-let-else \
--allow clippy::redundant-pub-crate \
--allow clippy::ref-as-ptr \
--allow clippy::single-match-else \
--allow clippy::use-self \
\
Expand Down

0 comments on commit f7569be

Please sign in to comment.