1 error: `derive` may only be applied to structs, enums and unions
2 --> $DIR/attributes-on-modules-fail.rs:16:1
7 error[E0658]: non-inline modules in proc macro input are unstable
8 --> $DIR/attributes-on-modules-fail.rs:20:1
13 = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
14 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
16 error[E0658]: non-inline modules in proc macro input are unstable
17 --> $DIR/attributes-on-modules-fail.rs:24:5
22 = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
23 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
25 error[E0658]: non-inline modules in proc macro input are unstable
26 --> $DIR/attributes-on-modules-fail.rs:33:9
31 = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
32 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
34 error[E0658]: non-inline modules in proc macro input are unstable
35 --> $DIR/attributes-on-modules-fail.rs:42:5
40 = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
41 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
43 error[E0412]: cannot find type `Y` in this scope
44 --> $DIR/attributes-on-modules-fail.rs:10:14
47 | ^ not found in this scope
49 help: consider importing this struct
54 error[E0412]: cannot find type `X` in this scope
55 --> $DIR/attributes-on-modules-fail.rs:14:10
58 | ^ not found in this scope
60 help: consider importing this struct
65 error: aborting due to 7 previous errors
67 Some errors have detailed explanations: E0412, E0658.
68 For more information about an error, try `rustc --explain E0412`.