summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-32950.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/issues/issue-32950.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-32950.rs b/src/test/ui/issues/issue-32950.rs
new file mode 100644
index 000000000..27d68a11c
--- /dev/null
+++ b/src/test/ui/issues/issue-32950.rs
@@ -0,0 +1,9 @@
+#![feature(concat_idents)]
+
+#[derive(Debug)]
+struct Baz<T>(
+ concat_idents!(Foo, Bar) //~ ERROR `derive` cannot be used on items with type macros
+ //~^ ERROR cannot find type `FooBar` in this scope
+);
+
+fn main() {}