Fix or ignore 2024 edition migration lints
This commit is contained in:
parent
bd43fe060b
commit
f45e66f572
9 changed files with 15 additions and 11 deletions
|
|
@ -68,7 +68,11 @@ rust.unused_lifetimes = "warn"
|
|||
rust.unused_qualifications = "warn"
|
||||
# Clippy
|
||||
clippy.use_self = "warn"
|
||||
|
||||
# Migrating to the 2024 edition
|
||||
rust.rust_2024_compatibility = "warn"
|
||||
rust.edition_2024_expr_fragment_specifier = { level = "allow", priority = 1 }
|
||||
rust.if_let_rescope = { level = "allow", priority = 1 }
|
||||
rust.tail_expr_drop_order = { level = "allow", priority = 1 }
|
||||
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue