mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
14 lines
399 B
Plaintext
14 lines
399 B
Plaintext
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 previous error
|
|
|