]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/expansion-info-reset.stderr
Merge commit '61eb38aeda6cb54b93b872bf503d70084c4d621c' into clippyup
[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