2018-07-12 05:24:59 -05:00
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-11-24 07:34:13 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:35:5
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
|
LL | my_macro!(); //~ ERROR can't use a procedural macro from the same crate that defines it
|
2018-08-14 19:51:12 -05:00
|
|
|
| ^^^^^^^^
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-11-24 07:34:13 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:38:5
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
|
LL | my_macro_attr!(); //~ ERROR can't use a procedural macro from the same crate that defines it
|
2018-08-14 19:51:12 -05:00
|
|
|
| ^^^^^^^^^^^^^
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-11-24 07:34:13 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:41:5
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
|
LL | MyTrait!(); //~ ERROR can't use a procedural macro from the same crate that defines it
|
2018-08-14 19:51:12 -05:00
|
|
|
| ^^^^^^^
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-11-24 07:34:13 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:44:3
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
|
LL | #[my_macro] //~ ERROR can't use a procedural macro from the same crate that defines it
|
2018-08-14 19:51:12 -05:00
|
|
|
| ^^^^^^^^
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-11-24 07:34:13 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:46:3
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
|
LL | #[my_macro_attr] //~ ERROR can't use a procedural macro from the same crate that defines it
|
2018-08-14 19:51:12 -05:00
|
|
|
| ^^^^^^^^^^^^^
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-11-24 07:34:13 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:48:3
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
|
LL | #[MyTrait] //~ ERROR can't use a procedural macro from the same crate that defines it
|
2018-08-14 19:51:12 -05:00
|
|
|
| ^^^^^^^
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-11-24 07:34:13 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:51:10
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
|
LL | #[derive(my_macro)] //~ ERROR can't use a procedural macro from the same crate that defines it
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-11-24 07:34:13 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:53:10
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
|
LL | #[derive(my_macro_attr)] //~ ERROR can't use a procedural macro from the same crate that defines it
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-11-24 07:34:13 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:55:10
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
|
LL | #[derive(MyTrait)] //~ ERROR can't use a procedural macro from the same crate that defines it
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 9 previous errors
|
|
|
|
|