Skip to content

Commit 9c0fb8b

Browse files
committed
Ignore literal_string_with_formatting_args clippy lint in test
warning: this looks like a formatting argument but it is not part of a formatting macro --> tests/test_ensure.rs:505:44 | 505 | "Condition failed: `\"\" == format!(\"{:#?}\", point)`", | ^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args = note: `-W clippy::literal-string-with-formatting-args` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::literal_string_with_formatting_args)]`
1 parent 48be1ca commit 9c0fb8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_ensure.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
clippy::items_after_statements,
1212
clippy::let_and_return,
1313
clippy::let_underscore_untyped,
14+
clippy::literal_string_with_formatting_args,
1415
clippy::match_bool,
1516
clippy::needless_else,
1617
clippy::never_loop,

0 commit comments

Comments
 (0)