32 lines
891 B
TOML
32 lines
891 B
TOML
[lints.rust]
|
|
ambiguous_negative_literals = "warn"
|
|
closure_returning_async_block = "warn"
|
|
elided_lifetimes_in_paths = "warn"
|
|
explicit_outlives_requirements = "warn"
|
|
ffi_unwind_calls = "warn"
|
|
let_underscore_drop = "warn"
|
|
linker_messages = "warn"
|
|
macro_use_extern_crate = "warn"
|
|
meta_variable_misuse = "warn"
|
|
missing_unsafe_on_extern = "warn"
|
|
non_ascii_idents = "warn"
|
|
redundant_imports = "warn"
|
|
redundant_lifetimes = "warn"
|
|
single_use_lifetimes = "warn"
|
|
trivial_numeric_casts = "warn"
|
|
unit_bindings = "warn"
|
|
unnameable_types = "warn"
|
|
unsafe_attr_outside_unsafe = "warn"
|
|
unsafe_op_in_unsafe_fn = "warn"
|
|
unused_crate_dependencies = "warn"
|
|
unused_extern_crates = "warn"
|
|
unused_import_braces = "warn"
|
|
unused_lifetimes = "warn"
|
|
unused_macro_rules = "warn"
|
|
unused_qualifications = "warn"
|
|
|
|
[lints.clippy]
|
|
pedantic = { level = "warn", priority = -1 }
|
|
similar_names = "allow"
|
|
allow_attributes = "warn"
|