Skip to content
Myr

Ignore literal_string_with_formatting_args clippy lint in test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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)]`

authored by David Tolnay · committed by David Tolnay · parent 48be1ca · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • tests:+1 added−0 removed

1 file+1 added−0 removed

modified:tests/test_ensure.rs+1 added
9 unmodified lines
10 clippy::ignored_unit_patterns,11 clippy::items_after_statements,12 clippy::let_and_return,13 clippy::let_underscore_untyped,14 clippy::literal_string_with_formatting_args,15 clippy::match_bool,16 clippy::needless_else,17 clippy::never_loop,18 clippy::overly_complex_bool_expr,
735 unmodified lines