1 error: can't use a procedural macro from the same crate that defines it
2 --> $DIR/macro-namespace-reserved-2.rs:25:5
7 error: can't use a procedural macro from the same crate that defines it
8 --> $DIR/macro-namespace-reserved-2.rs:29:5
10 LL | crate::my_macro_attr!();
11 | ^^^^^^^^^^^^^^^^^^^^
13 error: expected macro, found attribute macro `crate::my_macro_attr`
14 --> $DIR/macro-namespace-reserved-2.rs:29:5
16 LL | crate::my_macro_attr!();
17 | ^^^^^^^^^^^^^^^^^^^^ not a macro
19 error: can't use a procedural macro from the same crate that defines it
20 --> $DIR/macro-namespace-reserved-2.rs:34:5
22 LL | crate::MyTrait!();
25 error: expected macro, found derive macro `crate::MyTrait`
26 --> $DIR/macro-namespace-reserved-2.rs:34:5
28 LL | crate::MyTrait!();
29 | ^^^^^^^^^^^^^^ not a macro
31 error: can't use a procedural macro from the same crate that defines it
32 --> $DIR/macro-namespace-reserved-2.rs:42:3
37 error: can't use a procedural macro from the same crate that defines it
38 --> $DIR/macro-namespace-reserved-2.rs:44:3
43 error: expected attribute, found derive macro `MyTrait`
44 --> $DIR/macro-namespace-reserved-2.rs:44:3
47 | ^^^^^^^ not an attribute
49 error: can't use a procedural macro from the same crate that defines it
50 --> $DIR/macro-namespace-reserved-2.rs:53:10
52 LL | #[derive(my_macro_attr)]
55 error: expected derive macro, found attribute macro `my_macro_attr`
56 --> $DIR/macro-namespace-reserved-2.rs:53:10
58 LL | #[derive(my_macro_attr)]
59 | ^^^^^^^^^^^^^ not a derive macro
61 error: can't use a procedural macro from the same crate that defines it
62 --> $DIR/macro-namespace-reserved-2.rs:56:10
64 LL | #[derive(MyTrait)]
67 error: can't use a procedural macro from the same crate that defines it
68 --> $DIR/macro-namespace-reserved-2.rs:39:3
70 LL | #[crate::my_macro]
73 error: expected attribute, found macro `crate::my_macro`
74 --> $DIR/macro-namespace-reserved-2.rs:39:3
76 LL | #[crate::my_macro]
77 | ^^^^^^^^^^^^^^^ not an attribute
79 error: can't use a procedural macro from the same crate that defines it
80 --> $DIR/macro-namespace-reserved-2.rs:50:10
82 LL | #[derive(crate::my_macro)]
85 error: expected derive macro, found macro `crate::my_macro`
86 --> $DIR/macro-namespace-reserved-2.rs:50:10
88 LL | #[derive(crate::my_macro)]
89 | ^^^^^^^^^^^^^^^ not a derive macro
91 error: cannot find macro `my_macro_attr` in this scope
92 --> $DIR/macro-namespace-reserved-2.rs:28:5
94 LL | my_macro_attr!();
97 = note: `my_macro_attr` is in scope, but it is an attribute: `#[my_macro_attr]`
99 error: cannot find macro `MyTrait` in this scope
100 --> $DIR/macro-namespace-reserved-2.rs:33:5
105 = note: `MyTrait` is in scope, but it is a derive macro: `#[derive(MyTrait)]`
107 error: cannot find attribute `my_macro` in this scope
108 --> $DIR/macro-namespace-reserved-2.rs:38:3
113 = note: `my_macro` is in scope, but it is a function-like macro
115 error: cannot find derive macro `my_macro` in this scope
116 --> $DIR/macro-namespace-reserved-2.rs:48:10
118 LL | #[derive(my_macro)]
121 = note: `my_macro` is in scope, but it is a function-like macro
123 error: cannot find derive macro `my_macro` in this scope
124 --> $DIR/macro-namespace-reserved-2.rs:48:10
126 LL | #[derive(my_macro)]
129 = note: `my_macro` is in scope, but it is a function-like macro
131 error: aborting due to 20 previous errors