rust/tests/ui/issues/issue-32950.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
246 B
Rust
Raw Normal View History

2016-08-24 11:07:43 +00: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
//~^ ERROR cannot find type `FooBar` in this scope
);
2016-06-01 11:00:27 +00:00
fn main() {}