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