Remove workaround for nonstring literals
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Stringifying a non-string $:literal for passing into the format_args call is incompatible with format args capture: "to avoid ambiguity, `format_args!` cannot capture variables when the format string is expanded from a macro". error: there is no argument named `var`" --> src/main.rs:3:26 | 3 | let _ = format_args!(concat!("{var}")); | ^^^^^^^^^^^^^^^^ | = note: did you intend to capture a variable `var` from the surrounding scope? = note: to avoid ambiguity, `format_args!` cannot capture variables when the format string is expanded from a macro
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−1 removed
- other:+1 added−1 removed