3 macro_rules! expand_to_enum {
6 //~^ ERROR enum is not supported in `trait`s or `impl`s
7 //~| ERROR enum is not supported in `trait`s or `impl`s
8 //~| ERROR enum is not supported in `extern` blocks
12 macro_rules! mac_impl {
20 struct BadS; //~ ERROR struct is not supported in `trait`s or `impl`s
24 macro_rules! mac_trait {
31 struct BadS; //~ ERROR struct is not supported in `trait`s or `impl`s
35 macro_rules! mac_extern {
42 struct BadS; //~ ERROR struct is not supported in `extern` blocks