mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
13 lines
401 B
Text
13 lines
401 B
Text
error: format argument must be a string literal
|
|
--> $DIR/expansion-info-reset.rs:2:18
|
|
|
|
|
LL | format_args!({ #[derive(Clone)] struct S; });
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
help: you might be missing a string literal to format with
|
|
|
|
|
LL | format_args!("{}", { #[derive(Clone)] struct S; });
|
|
| +++++
|
|
|
|
error: aborting due to 1 previous error
|
|
|