2018-07-12 05:24:59 -05:00
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-05-13 19:22:52 -05:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:34: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
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-05-13 19:22:52 -05:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:37: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
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-05-13 19:22:52 -05:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:40: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
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-05-13 19:22:52 -05:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:43:1
|
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
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-05-13 19:22:52 -05:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:45:1
|
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
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: can't use a procedural macro from the same crate that defines it
|
2018-05-13 19:22:52 -05:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:47:1
|
2018-07-12 05:24:59 -05:00
|
|
|
|
|
|
|
|
LL | #[MyTrait] //~ 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-05-13 19:22:52 -05:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:50: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-05-13 19:22:52 -05:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:52: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-05-13 19:22:52 -05:00
|
|
|
--> $DIR/macro-namespace-reserved-2.rs:54: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
|
|
|
|
|