2019-04-10 18:40:12 -05:00
|
|
|
error[E0658]: The attribute `C` is currently unknown to the compiler and may have meaning added to it in the future
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:7:3
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[C]
|
2018-12-02 13:27:37 -06:00
|
|
|
| ^
|
|
|
|
|
|
2019-04-11 13:42:06 -05:00
|
|
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
|
2019-07-09 04:32:08 -05:00
|
|
|
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
|
2018-12-02 13:27:37 -06:00
|
|
|
|
2018-12-16 11:23:27 -06:00
|
|
|
error[E0659]: `B` is ambiguous (derive helper attribute vs any other name)
|
2018-12-26 18:07:00 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:6:3
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[B]
|
2018-12-16 11:23:27 -06:00
|
|
|
| ^ ambiguous name
|
|
|
|
|
|
|
|
|
note: `B` could refer to the derive helper attribute defined here
|
2019-02-25 13:40:44 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:11:10
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
|
|
|
LL | #[derive(B)]
|
|
|
|
| ^
|
|
|
|
note: `B` could also refer to the derive macro imported here
|
2018-12-26 18:07:00 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:3:1
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
|
|
|
LL | #[macro_use]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0659]: `B` is ambiguous (derive helper attribute vs any other name)
|
2018-12-26 18:07:00 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:8:3
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[B(D)]
|
2018-12-16 11:23:27 -06:00
|
|
|
| ^ ambiguous name
|
|
|
|
|
|
|
|
|
note: `B` could refer to the derive helper attribute defined here
|
2019-02-25 13:40:44 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:11:10
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
|
|
|
LL | #[derive(B)]
|
|
|
|
| ^
|
|
|
|
note: `B` could also refer to the derive macro imported here
|
2018-12-26 18:07:00 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:3:1
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
|
|
|
LL | #[macro_use]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0659]: `B` is ambiguous (derive helper attribute vs any other name)
|
2018-12-26 18:07:00 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:9:3
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[B(E = "foo")]
|
2018-12-16 11:23:27 -06:00
|
|
|
| ^ ambiguous name
|
|
|
|
|
|
|
|
|
note: `B` could refer to the derive helper attribute defined here
|
2019-02-25 13:40:44 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:11:10
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
|
|
|
LL | #[derive(B)]
|
|
|
|
| ^
|
|
|
|
note: `B` could also refer to the derive macro imported here
|
2018-12-26 18:07:00 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:3:1
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
|
|
|
LL | #[macro_use]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0659]: `B` is ambiguous (derive helper attribute vs any other name)
|
2018-12-26 18:07:00 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:10:3
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[B(arbitrary tokens)]
|
2018-12-16 11:23:27 -06:00
|
|
|
| ^ ambiguous name
|
|
|
|
|
|
|
|
|
note: `B` could refer to the derive helper attribute defined here
|
2019-02-25 13:40:44 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:11:10
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
|
|
|
LL | #[derive(B)]
|
|
|
|
| ^
|
|
|
|
note: `B` could also refer to the derive macro imported here
|
2018-12-26 18:07:00 -06:00
|
|
|
--> $DIR/proc-macro-attributes.rs:3:1
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
|
|
|
LL | #[macro_use]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2019-02-25 13:40:44 -06:00
|
|
|
error: aborting due to 5 previous errors
|
2018-12-02 13:27:37 -06:00
|
|
|
|
2019-04-17 12:26:38 -05:00
|
|
|
Some errors have detailed explanations: E0658, E0659.
|
2018-12-16 11:23:27 -06:00
|
|
|
For more information about an error, try `rustc --explain E0658`.
|