summaryrefslogtreecommitdiffstats
path: root/tests/ui/hygiene/expansion-info-reset.stderr
blob: 64d27e0648700ddb80f2cd19f68c63d2dc855d3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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