We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24804d3 commit f52dd30Copy full SHA for f52dd30
tests/ui/format_args_unfixable.stderr
@@ -5,7 +5,8 @@ LL | println!("error: {}", format!("something failed at {}", Location::calle
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
|
7
= note: `-D clippy::format-in-format-args` implied by `-D warnings`
8
- = help: inline the `format!` call
+ = help: combine the `format!(..)` arguments with the outer `println!(..)` call
9
+ = help: or consider changing `format!` to `format_args!`
10
11
error: `format!` in `println!` args
12
--> $DIR/format_args_unfixable.rs:15:5
0 commit comments