Closed
Description
Code
let stderr = 3;
eprintln!({stderr})
Current output
|
4 | eprintln!({stderr})
| ^^^^^^^^
|
help: you might be missing a string literal to format with
|
4 | eprintln!("{}", {stderr})
| +++++
Desired output
|
4 | eprintln!({stderr})
| ^^^^^^^^
|
help: quote your inlined format argument to use at as string literal
|
4 | eprintln!("{stderr}")
| + +
Rationale and extra context
No response
Other cases
No response
Anything else?
No response