]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/expansion-info-reset.stderr
Rollup merge of #90202 - matthewjasper:xcrate-hygiene, r=petrochenkov
[rust.git] / src / test / ui / hygiene / expansion-info-reset.stderr
1 error: format argument must be a string literal
2   --> $DIR/expansion-info-reset.rs:2:18
3    |
4 LL |     format_args!({ #[derive(Clone)] struct S; });
5    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7 help: you might be missing a string literal to format with
8    |
9 LL |     format_args!("{}", { #[derive(Clone)] struct S; });
10    |                  +++++
11
12 error: aborting due to previous error
13