Skip to content

Commit 6957889

Browse files
committed
Disable compiler warning for Rust 2021 expr fragment specifiers
A manual audit of the existing expr specifiers didn't turn up any problems with just switching to the 2024 semantics. https://doc.rust-lang.org/nightly/edition-guide/rust-2024/macro-fragment-specifiers.html
1 parent 0c1bd8f commit 6957889

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ unexpected_cfgs = { level = "warn", check-cfg = ["cfg(tarpaulin_include)"] }
117117
# absolute_paths_not_starting_with_crate - group rust_2018_compatibility
118118
# box-pointers - used in project, and is safe to do so
119119
deprecated_in_future = "warn"
120+
edition_2024_expr_fragment_specifier = "allow"
120121
# elided_lifetimes_in_paths - group: rust_2018_idioms
121122
# explicit_outlives_requirements - group: rust_2018_idioms
122123
ffi_unwind_calls = "warn"

0 commit comments

Comments
 (0)