rust/tests/ui/hygiene/expansion-info-reset.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
399 B
Plaintext
Raw Normal View History

2018-08-23 23:26:50 +00:00
error: format argument must be a string literal
--> $DIR/expansion-info-reset.rs:2:18
2018-08-23 23:26:50 +00:00
|
LL | format_args!({ #[derive(Clone)] struct S; });
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-23 23:26:50 +00:00
help: you might be missing a string literal to format with
|
LL | format_args!("{}", { #[derive(Clone)] struct S; });
| +++++
2018-08-23 23:26:50 +00:00
error: aborting due to previous error