]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/expansion-info-reset.rs
Rollup merge of #57278 - mati865:config_clippy, r=alexcrichton
[rust.git] / src / test / ui / hygiene / expansion-info-reset.rs
1 // FIXME: Investigate why expansion info for a single expansion id is reset from
2 // `MacroBang(format_args)` to `MacroAttribute(derive(Clone))` (issue #52363).
3
4 fn main() {
5     format_args!({ #[derive(Clone)] struct S; });
6     //~^ ERROR format argument must be a string literal
7 }