2018-07-12 05:24:59 -05:00
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:25: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-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:28: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-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:31: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-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:34: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-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:36: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-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:38: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-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:41: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-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:43: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-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:45: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
|
|
|
|
|