summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-32950.rs
blob: 27d68a11c1f160d6e456c2c6d9ba3691d6d7e766 (plain)
1
2
3
4
5
6
7
8
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() {}