drop a lint that only fires on command macro noise
This commit is contained in:
@@ -10,6 +10,10 @@ rust-version = "1.94"
|
||||
# lints that catch real defects are enabled, since that group is documented as
|
||||
# cherry-pick-only and its members contradict each other (absolute_paths vs
|
||||
# unused_qualifications, implicit_return vs semicolon_outside_block).
|
||||
#
|
||||
# let_underscore_must_use is deliberately absent: it fires at the `Result<..>`
|
||||
# return type of #[tauri::command] wrappers, where there is no discarded binding
|
||||
# to fix, and no amount of restructuring clears it.
|
||||
[lints.rust]
|
||||
unreachable_pub = "warn"
|
||||
unused_qualifications = "warn"
|
||||
@@ -32,7 +36,6 @@ ref_as_ptr = "warn"
|
||||
ptr_cast_constness = "warn"
|
||||
as_pointer_underscore = "warn"
|
||||
cast_ptr_alignment = "warn"
|
||||
let_underscore_must_use = "warn"
|
||||
let_underscore_untyped = "warn"
|
||||
else_if_without_else = "warn"
|
||||
exit = "warn"
|
||||
|
||||
Reference in New Issue
Block a user