|
LL | #[derive(my_macro_attr)]
| ^^^^^^^^^^^^^ not a derive macro
+ |
+help: remove from the surrounding `derive()`
+ --> $DIR/macro-namespace-reserved-2.rs:53:10
+ |
+LL | #[derive(my_macro_attr)]
+ | ^^^^^^^^^^^^^
+ = help: add as non-Derive macro
+ `#[my_macro_attr]`
error: can't use a procedural macro from the same crate that defines it
--> $DIR/macro-namespace-reserved-2.rs:56:10
|
LL | #[derive(crate::my_macro)]
| ^^^^^^^^^^^^^^^ not a derive macro
+ |
+help: remove from the surrounding `derive()`
+ --> $DIR/macro-namespace-reserved-2.rs:50:10
+ |
+LL | #[derive(crate::my_macro)]
+ | ^^^^^^^^^^^^^^^
+ = help: add as non-Derive macro
+ `#[crate::my_macro]`
error: cannot find macro `my_macro_attr` in this scope
--> $DIR/macro-namespace-reserved-2.rs:28:5