diff options
Diffstat (limited to 'src/test/ui/proc-macro/proc-macro-attributes.stderr')
| -rw-r--r-- | src/test/ui/proc-macro/proc-macro-attributes.stderr | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/test/ui/proc-macro/proc-macro-attributes.stderr b/src/test/ui/proc-macro/proc-macro-attributes.stderr index 8b87e482282..7ac44c9354d 100644 --- a/src/test/ui/proc-macro/proc-macro-attributes.stderr +++ b/src/test/ui/proc-macro/proc-macro-attributes.stderr @@ -7,75 +7,75 @@ LL | #[C] //~ ERROR attribute `C` is currently unknown to the compiler = help: add #![feature(custom_attribute)] to the crate attributes to enable error[E0659]: `B` is ambiguous (derive helper attribute vs any other name) - --> $DIR/proc-macro-attributes.rs:16:3 + --> $DIR/proc-macro-attributes.rs:6:3 | LL | #[B] //~ ERROR `B` is ambiguous | ^ ambiguous name | note: `B` could refer to the derive helper attribute defined here - --> $DIR/proc-macro-attributes.rs:22:10 + --> $DIR/proc-macro-attributes.rs:12:10 | LL | #[derive(B)] | ^ note: `B` could also refer to the derive macro imported here - --> $DIR/proc-macro-attributes.rs:13:1 + --> $DIR/proc-macro-attributes.rs:3:1 | LL | #[macro_use] | ^^^^^^^^^^^^ error[E0659]: `B` is ambiguous (derive helper attribute vs any other name) - --> $DIR/proc-macro-attributes.rs:18:3 + --> $DIR/proc-macro-attributes.rs:8:3 | LL | #[B(D)] //~ ERROR `B` is ambiguous | ^ ambiguous name | note: `B` could refer to the derive helper attribute defined here - --> $DIR/proc-macro-attributes.rs:22:10 + --> $DIR/proc-macro-attributes.rs:12:10 | LL | #[derive(B)] | ^ note: `B` could also refer to the derive macro imported here - --> $DIR/proc-macro-attributes.rs:13:1 + --> $DIR/proc-macro-attributes.rs:3:1 | LL | #[macro_use] | ^^^^^^^^^^^^ error[E0659]: `B` is ambiguous (derive helper attribute vs any other name) - --> $DIR/proc-macro-attributes.rs:19:3 + --> $DIR/proc-macro-attributes.rs:9:3 | LL | #[B(E = "foo")] //~ ERROR `B` is ambiguous | ^ ambiguous name | note: `B` could refer to the derive helper attribute defined here - --> $DIR/proc-macro-attributes.rs:22:10 + --> $DIR/proc-macro-attributes.rs:12:10 | LL | #[derive(B)] | ^ note: `B` could also refer to the derive macro imported here - --> $DIR/proc-macro-attributes.rs:13:1 + --> $DIR/proc-macro-attributes.rs:3:1 | LL | #[macro_use] | ^^^^^^^^^^^^ error[E0659]: `B` is ambiguous (derive helper attribute vs any other name) - --> $DIR/proc-macro-attributes.rs:20:3 + --> $DIR/proc-macro-attributes.rs:10:3 | LL | #[B(arbitrary tokens)] //~ ERROR `B` is ambiguous | ^ ambiguous name | note: `B` could refer to the derive helper attribute defined here - --> $DIR/proc-macro-attributes.rs:22:10 + --> $DIR/proc-macro-attributes.rs:12:10 | LL | #[derive(B)] | ^ note: `B` could also refer to the derive macro imported here - --> $DIR/proc-macro-attributes.rs:13:1 + --> $DIR/proc-macro-attributes.rs:3:1 | LL | #[macro_use] | ^^^^^^^^^^^^ error: expected one of `(`, `)`, `,`, `::`, or `=`, found `tokens` - --> $DIR/proc-macro-attributes.rs:20:15 + --> $DIR/proc-macro-attributes.rs:10:15 | LL | #[B(arbitrary tokens)] //~ ERROR `B` is ambiguous | ^^^^^^ expected one of `(`, `)`, `,`, `::`, or `=` here |
