rust/src/test/ui/hygiene/expansion-info-reset.rs
Matthew Jasper 03178f31c4 Change all run-pass hygiene tests to ui tests
Change some tests to `check-pass` that are only testing name resolution.
2019-07-16 21:20:39 +01:00

5 lines
120 B
Rust

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