2018-08-23 18:26:50 -05:00
|
|
|
error: format argument must be a string literal
|
2019-07-14 05:34:13 -05:00
|
|
|
--> $DIR/expansion-info-reset.rs:2:18
|
2018-08-23 18:26:50 -05:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|