2016-08-24 06:07:43 -05:00
|
|
|
#![feature(concat_idents)]
|
2016-06-01 06:00:27 -05:00
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
#[derive(Debug)]
|
2016-06-23 22:23:44 -05:00
|
|
|
struct Baz<T>(
|
|
|
|
concat_idents!(Foo, Bar) //~ ERROR `derive` cannot be used on items with type macros
|
2018-12-16 11:23:27 -06:00
|
|
|
//~^ ERROR cannot find type `FooBar` in this scope
|
2016-06-23 22:23:44 -05:00
|
|
|
);
|
2016-06-01 06:00:27 -05:00
|
|
|
|
2016-06-23 22:23:44 -05:00
|
|
|
fn main() {}
|