rust/src/test/ui/issues/issue-32950.rs

9 lines
166 B
Rust
Raw Normal View History

2016-08-24 06:07:43 -05:00
#![feature(concat_idents)]
2016-06-01 06:00:27 -05:00
#[derive(Debug)]
struct Baz<T>(
concat_idents!(Foo, Bar) //~ ERROR `derive` cannot be used on items with type macros
);
2016-06-01 06:00:27 -05:00
fn main() {}