Clippy: Move lint configuration to lib.rs.
This commit is contained in:
parent
ff2cc71e94
commit
bafde9dba7
@ -23,12 +23,4 @@ cargo clippy \
|
|||||||
-- \
|
-- \
|
||||||
--deny missing_docs \
|
--deny missing_docs \
|
||||||
--deny warnings \
|
--deny warnings \
|
||||||
--allow clippy::collapsible_if \
|
|
||||||
--allow clippy::identity_op \
|
|
||||||
--allow clippy::len_without_is_empty \
|
|
||||||
--allow clippy::let_unit_value \
|
|
||||||
--allow clippy::new_without_default \
|
|
||||||
--allow clippy::neg_cmp_op_on_partial_ord \
|
|
||||||
--allow clippy::too_many_arguments \
|
|
||||||
--allow clippy::type_complexity \
|
|
||||||
$NULL
|
$NULL
|
||||||
|
@ -36,6 +36,14 @@
|
|||||||
// When running mk/package.sh, don't actually build any code.
|
// When running mk/package.sh, don't actually build any code.
|
||||||
#![cfg(not(pregenerate_asm_only))]
|
#![cfg(not(pregenerate_asm_only))]
|
||||||
#![allow(
|
#![allow(
|
||||||
|
clippy::collapsible_if,
|
||||||
|
clippy::identity_op,
|
||||||
|
clippy::len_without_is_empty,
|
||||||
|
clippy::let_unit_value,
|
||||||
|
clippy::new_without_default,
|
||||||
|
clippy::neg_cmp_op_on_partial_ord,
|
||||||
|
clippy::too_many_arguments,
|
||||||
|
clippy::type_complexity,
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
non_camel_case_types,
|
non_camel_case_types,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user