1
Fork 0
rust/src/test/ui/issues/issue-32950.rs

9 lines
166 B
Rust
Raw Normal View History

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