fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s 2 --> $DIR/attributes-on-modules-fail.rs:16:1 3 | 4LL | #[derive(Copy)] 5 | ^^^^^^^^^^^^^^^ not applicable here 6LL | mod n {} 7 | -------- not a `struct`, `enum` or `union` 8 9error[E0658]: non-inline modules in proc macro input are unstable 10 --> $DIR/attributes-on-modules-fail.rs:20:1 11 | 12LL | mod module; 13 | ^^^^^^^^^^^ 14 | 15 = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information 16 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable 17 18error[E0658]: non-inline modules in proc macro input are unstable 19 --> $DIR/attributes-on-modules-fail.rs:24:5 20 | 21LL | mod inner; 22 | ^^^^^^^^^^ 23 | 24 = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information 25 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable 26 27error[E0658]: non-inline modules in proc macro input are unstable 28 --> $DIR/attributes-on-modules-fail.rs:33:9 29 | 30LL | mod inner; 31 | ^^^^^^^^^^ 32 | 33 = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information 34 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable 35 36error[E0658]: non-inline modules in proc macro input are unstable 37 --> $DIR/attributes-on-modules-fail.rs:42:5 38 | 39LL | mod inner; 40 | ^^^^^^^^^^ 41 | 42 = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information 43 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable 44 45error[E0412]: cannot find type `Y` in this scope 46 --> $DIR/attributes-on-modules-fail.rs:10:14 47 | 48LL | type A = Y; 49 | ^ not found in this scope 50 | 51help: consider importing this struct 52 | 53LL + use Y; 54 | 55 56error[E0412]: cannot find type `X` in this scope 57 --> $DIR/attributes-on-modules-fail.rs:14:10 58 | 59LL | type A = X; 60 | ^ not found in this scope 61 | 62help: consider importing this struct 63 | 64LL + use m::X; 65 | 66 67error: aborting due to 7 previous errors 68 69Some errors have detailed explanations: E0412, E0658, E0774. 70For more information about an error, try `rustc --explain E0412`.