fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: cannot find attribute `C` in this scope 2 --> $DIR/proc-macro-attributes.rs:9:3 3 | 4LL | #[C] 5 | ^ help: a derive helper attribute with a similar name exists: `B` 6 7error[E0659]: `B` is ambiguous 8 --> $DIR/proc-macro-attributes.rs:6:3 9 | 10LL | #[B] 11 | ^ ambiguous name 12 | 13 = note: ambiguous because of a name conflict with a derive helper attribute 14note: `B` could refer to the derive helper attribute defined here 15 --> $DIR/proc-macro-attributes.rs:19:10 16 | 17LL | #[derive(B)] 18 | ^ 19note: `B` could also refer to the derive macro imported here 20 --> $DIR/proc-macro-attributes.rs:3:1 21 | 22LL | #[macro_use] 23 | ^^^^^^^^^^^^ 24 25error[E0659]: `B` is ambiguous 26 --> $DIR/proc-macro-attributes.rs:10:3 27 | 28LL | #[B(D)] 29 | ^ ambiguous name 30 | 31 = note: ambiguous because of a name conflict with a derive helper attribute 32note: `B` could refer to the derive helper attribute defined here 33 --> $DIR/proc-macro-attributes.rs:19:10 34 | 35LL | #[derive(B)] 36 | ^ 37note: `B` could also refer to the derive macro imported here 38 --> $DIR/proc-macro-attributes.rs:3:1 39 | 40LL | #[macro_use] 41 | ^^^^^^^^^^^^ 42 43error[E0659]: `B` is ambiguous 44 --> $DIR/proc-macro-attributes.rs:13:3 45 | 46LL | #[B(E = "foo")] 47 | ^ ambiguous name 48 | 49 = note: ambiguous because of a name conflict with a derive helper attribute 50note: `B` could refer to the derive helper attribute defined here 51 --> $DIR/proc-macro-attributes.rs:19:10 52 | 53LL | #[derive(B)] 54 | ^ 55note: `B` could also refer to the derive macro imported here 56 --> $DIR/proc-macro-attributes.rs:3:1 57 | 58LL | #[macro_use] 59 | ^^^^^^^^^^^^ 60 61error[E0659]: `B` is ambiguous 62 --> $DIR/proc-macro-attributes.rs:16:3 63 | 64LL | #[B(arbitrary tokens)] 65 | ^ ambiguous name 66 | 67 = note: ambiguous because of a name conflict with a derive helper attribute 68note: `B` could refer to the derive helper attribute defined here 69 --> $DIR/proc-macro-attributes.rs:19:10 70 | 71LL | #[derive(B)] 72 | ^ 73note: `B` could also refer to the derive macro imported here 74 --> $DIR/proc-macro-attributes.rs:3:1 75 | 76LL | #[macro_use] 77 | ^^^^^^^^^^^^ 78 79warning: derive helper attribute is used before it is introduced 80 --> $DIR/proc-macro-attributes.rs:6:3 81 | 82LL | #[B] 83 | ^ 84... 85LL | #[derive(B)] 86 | - the attribute is introduced here 87 | 88 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 89 = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202> 90 = note: `#[warn(legacy_derive_helpers)]` on by default 91 92warning: derive helper attribute is used before it is introduced 93 --> $DIR/proc-macro-attributes.rs:10:3 94 | 95LL | #[B(D)] 96 | ^ 97... 98LL | #[derive(B)] 99 | - the attribute is introduced here 100 | 101 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 102 = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202> 103 104warning: derive helper attribute is used before it is introduced 105 --> $DIR/proc-macro-attributes.rs:13:3 106 | 107LL | #[B(E = "foo")] 108 | ^ 109... 110LL | #[derive(B)] 111 | - the attribute is introduced here 112 | 113 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 114 = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202> 115 116warning: derive helper attribute is used before it is introduced 117 --> $DIR/proc-macro-attributes.rs:16:3 118 | 119LL | #[B(arbitrary tokens)] 120 | ^ 121... 122LL | #[derive(B)] 123 | - the attribute is introduced here 124 | 125 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 126 = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202> 127 128error: aborting due to 5 previous errors; 4 warnings emitted 129 130For more information about this error, try `rustc --explain E0659`.