fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error: `derive` may only be applied to structs, enums and unions 2 --> $DIR/attributes-on-modules-fail.rs:16:1 3 | 4LL | #[derive(Copy)] 5 | ^^^^^^^^^^^^^^^ 6 7error[E0658]: non-inline modules in proc macro input are unstable 8 --> $DIR/attributes-on-modules-fail.rs:20:1 9 | 10LL | mod module; 11 | ^^^^^^^^^^^ 12 | 13 = note: for more information, see https://github.com/rust-lang/rust/issues/54727 14 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable 15 16error[E0658]: non-inline modules in proc macro input are unstable 17 --> $DIR/attributes-on-modules-fail.rs:24:5 18 | 19LL | mod inner; 20 | ^^^^^^^^^^ 21 | 22 = note: for more information, see https://github.com/rust-lang/rust/issues/54727 23 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable 24 25error[E0658]: non-inline modules in proc macro input are unstable 26 --> $DIR/attributes-on-modules-fail.rs:33:9 27 | 28LL | mod inner; 29 | ^^^^^^^^^^ 30 | 31 = note: for more information, see https://github.com/rust-lang/rust/issues/54727 32 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable 33 34error[E0658]: non-inline modules in proc macro input are unstable 35 --> $DIR/attributes-on-modules-fail.rs:42:5 36 | 37LL | mod inner; 38 | ^^^^^^^^^^ 39 | 40 = note: for more information, see https://github.com/rust-lang/rust/issues/54727 41 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable 42 43error[E0412]: cannot find type `Y` in this scope 44 --> $DIR/attributes-on-modules-fail.rs:10:14 45 | 46LL | type A = Y; 47 | ---------^- similarly named type alias `A` defined here 48 | 49help: a type alias with a similar name exists 50 | 51LL | type A = A; 52 | ^ 53help: possible candidate is found in another module, you can import it into scope 54 | 55LL | use Y; 56 | 57 58error[E0412]: cannot find type `X` in this scope 59 --> $DIR/attributes-on-modules-fail.rs:14:10 60 | 61LL | type A = X; 62 | ---------^- similarly named type alias `A` defined here 63 | 64help: a type alias with a similar name exists 65 | 66LL | type A = A; 67 | ^ 68help: possible candidate is found in another module, you can import it into scope 69 | 70LL | use m::X; 71 | 72 73error: aborting due to 7 previous errors 74 75Some errors have detailed explanations: E0412, E0658. 76For more information about an error, try `rustc --explain E0412`.