LL | #[MyTrait]
| ^^^^^^^ not an attribute
-error: can't use a procedural macro from the same crate that defines it
- --> $DIR/macro-namespace-reserved-2.rs:49:10
- |
-LL | #[derive(crate::my_macro)]
- | ^^^^^^^^^^^^^^^
-
-error: expected derive macro, found macro `crate::my_macro`
- --> $DIR/macro-namespace-reserved-2.rs:49:10
- |
-LL | #[derive(crate::my_macro)]
- | ^^^^^^^^^^^^^^^ not a derive macro
-
error: can't use a procedural macro from the same crate that defines it
--> $DIR/macro-namespace-reserved-2.rs:52:10
|
LL | #[crate::my_macro]
| ^^^^^^^^^^^^^^^ not an attribute
-error: cannot find attribute macro `my_macro` in this scope
- --> $DIR/macro-namespace-reserved-2.rs:38:3
+error: can't use a procedural macro from the same crate that defines it
+ --> $DIR/macro-namespace-reserved-2.rs:49:10
|
-LL | #[my_macro]
- | ^^^^^^^^
+LL | #[derive(crate::my_macro)]
+ | ^^^^^^^^^^^^^^^
-error: cannot find derive macro `my_macro` in this scope
- --> $DIR/macro-namespace-reserved-2.rs:48:10
+error: expected derive macro, found macro `crate::my_macro`
+ --> $DIR/macro-namespace-reserved-2.rs:49:10
|
-LL | #[derive(my_macro)]
- | ^^^^^^^^
+LL | #[derive(crate::my_macro)]
+ | ^^^^^^^^^^^^^^^ not a derive macro
error: cannot find macro `my_macro_attr!` in this scope
--> $DIR/macro-namespace-reserved-2.rs:28:5
LL | MyTrait!();
| ^^^^^^^
+error: cannot find attribute `my_macro` in this scope
+ --> $DIR/macro-namespace-reserved-2.rs:38:3
+ |
+LL | #[my_macro]
+ | ^^^^^^^^
+
+error: cannot find derive macro `my_macro` in this scope
+ --> $DIR/macro-namespace-reserved-2.rs:48:10
+ |
+LL | #[derive(my_macro)]
+ | ^^^^^^^^
+
error: aborting due to 19 previous errors