summaryrefslogtreecommitdiffstats
path: root/src/test/ui/hygiene/expansion-info-reset.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/hygiene/expansion-info-reset.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/hygiene/expansion-info-reset.rs b/src/test/ui/hygiene/expansion-info-reset.rs
new file mode 100644
index 000000000..fa5f71212
--- /dev/null
+++ b/src/test/ui/hygiene/expansion-info-reset.rs
@@ -0,0 +1,4 @@
+fn main() {
+ format_args!({ #[derive(Clone)] struct S; });
+ //~^ ERROR format argument must be a string literal
+}