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

5 lines
120 B
Rust

fn main() {
format_args!({ #[derive(Clone)] struct S; });
//~^ ERROR format argument must be a string literal
}