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