fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error: cannot find attribute `C` in this scope 2 --> $DIR/proc-macro-attributes.rs:7:3 3 | 4LL | #[C] 5 | ^ help: a derive helper attribute with a similar name exists: `B` 6 7error[E0659]: `B` is ambiguous (derive helper attribute vs any other name) 8 --> $DIR/proc-macro-attributes.rs:6:3 9 | 10LL | #[B] 11 | ^ ambiguous name 12 | 13note: `B` could refer to the derive helper attribute defined here 14 --> $DIR/proc-macro-attributes.rs:11:10 15 | 16LL | #[derive(B)] 17 | ^ 18note: `B` could also refer to the derive macro imported here 19 --> $DIR/proc-macro-attributes.rs:3:1 20 | 21LL | #[macro_use] 22 | ^^^^^^^^^^^^ 23 24error[E0659]: `B` is ambiguous (derive helper attribute vs any other name) 25 --> $DIR/proc-macro-attributes.rs:8:3 26 | 27LL | #[B(D)] 28 | ^ ambiguous name 29 | 30note: `B` could refer to the derive helper attribute defined here 31 --> $DIR/proc-macro-attributes.rs:11:10 32 | 33LL | #[derive(B)] 34 | ^ 35note: `B` could also refer to the derive macro imported here 36 --> $DIR/proc-macro-attributes.rs:3:1 37 | 38LL | #[macro_use] 39 | ^^^^^^^^^^^^ 40 41error[E0659]: `B` is ambiguous (derive helper attribute vs any other name) 42 --> $DIR/proc-macro-attributes.rs:9:3 43 | 44LL | #[B(E = "foo")] 45 | ^ ambiguous name 46 | 47note: `B` could refer to the derive helper attribute defined here 48 --> $DIR/proc-macro-attributes.rs:11:10 49 | 50LL | #[derive(B)] 51 | ^ 52note: `B` could also refer to the derive macro imported here 53 --> $DIR/proc-macro-attributes.rs:3:1 54 | 55LL | #[macro_use] 56 | ^^^^^^^^^^^^ 57 58error[E0659]: `B` is ambiguous (derive helper attribute vs any other name) 59 --> $DIR/proc-macro-attributes.rs:10:3 60 | 61LL | #[B(arbitrary tokens)] 62 | ^ ambiguous name 63 | 64note: `B` could refer to the derive helper attribute defined here 65 --> $DIR/proc-macro-attributes.rs:11:10 66 | 67LL | #[derive(B)] 68 | ^ 69note: `B` could also refer to the derive macro imported here 70 --> $DIR/proc-macro-attributes.rs:3:1 71 | 72LL | #[macro_use] 73 | ^^^^^^^^^^^^ 74 75error: aborting due to 5 previous errors 76 77For more information about this error, try `rustc --explain E0659`.