Skip to content

Commit

Permalink
Ignore literal_string_with_formatting_args clippy lint in test
Browse files Browse the repository at this point in the history
    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)]`
  • Loading branch information
dtolnay committed Dec 27, 2024
1 parent 48be1ca commit 9c0fb8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_ensure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
clippy::items_after_statements,
clippy::let_and_return,
clippy::let_underscore_untyped,
clippy::literal_string_with_formatting_args,
clippy::match_bool,
clippy::needless_else,
clippy::never_loop,
Expand Down

0 comments on commit 9c0fb8b

Please sign in to comment.