]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-32950.rs
point at private fields in struct literal
[rust.git] / src / test / ui / issues / issue-32950.rs
1 #![feature(concat_idents)]
2
3 #[derive(Debug)]
4 struct Baz<T>(
5     concat_idents!(Foo, Bar) //~ ERROR `derive` cannot be used on items with type macros
6                              //~^ ERROR cannot find type `FooBar` in this scope
7 );
8
9 fn main() {}