fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: can't use a procedural macro from the same crate that defines it 2 --> $DIR/macro-namespace-reserved-2.rs:25:5 3 | 4LL | my_macro!(); 5 | ^^^^^^^^ 6 7error: can't use a procedural macro from the same crate that defines it 8 --> $DIR/macro-namespace-reserved-2.rs:29:5 9 | 10LL | crate::my_macro_attr!(); 11 | ^^^^^^^^^^^^^^^^^^^^ 12 13error: expected macro, found attribute macro `crate::my_macro_attr` 14 --> $DIR/macro-namespace-reserved-2.rs:29:5 15 | 16LL | crate::my_macro_attr!(); 17 | ^^^^^^^^^^^^^^^^^^^^ not a macro 18 19error: can't use a procedural macro from the same crate that defines it 20 --> $DIR/macro-namespace-reserved-2.rs:34:5 21 | 22LL | crate::MyTrait!(); 23 | ^^^^^^^^^^^^^^ 24 25error: expected macro, found derive macro `crate::MyTrait` 26 --> $DIR/macro-namespace-reserved-2.rs:34:5 27 | 28LL | crate::MyTrait!(); 29 | ^^^^^^^^^^^^^^ not a macro 30 31error: can't use a procedural macro from the same crate that defines it 32 --> $DIR/macro-namespace-reserved-2.rs:42:3 33 | 34LL | #[my_macro_attr] 35 | ^^^^^^^^^^^^^ 36 37error: can't use a procedural macro from the same crate that defines it 38 --> $DIR/macro-namespace-reserved-2.rs:44:3 39 | 40LL | #[MyTrait] 41 | ^^^^^^^ 42 43error: expected attribute, found derive macro `MyTrait` 44 --> $DIR/macro-namespace-reserved-2.rs:44:3 45 | 46LL | #[MyTrait] 47 | ^^^^^^^ not an attribute 48 49error: can't use a procedural macro from the same crate that defines it 50 --> $DIR/macro-namespace-reserved-2.rs:53:10 51 | 52LL | #[derive(my_macro_attr)] 53 | ^^^^^^^^^^^^^ 54 55error: expected derive macro, found attribute macro `my_macro_attr` 56 --> $DIR/macro-namespace-reserved-2.rs:53:10 57 | 58LL | #[derive(my_macro_attr)] 59 | ^^^^^^^^^^^^^ not a derive macro 60 61error: can't use a procedural macro from the same crate that defines it 62 --> $DIR/macro-namespace-reserved-2.rs:56:10 63 | 64LL | #[derive(MyTrait)] 65 | ^^^^^^^ 66 67error: can't use a procedural macro from the same crate that defines it 68 --> $DIR/macro-namespace-reserved-2.rs:39:3 69 | 70LL | #[crate::my_macro] 71 | ^^^^^^^^^^^^^^^ 72 73error: expected attribute, found macro `crate::my_macro` 74 --> $DIR/macro-namespace-reserved-2.rs:39:3 75 | 76LL | #[crate::my_macro] 77 | ^^^^^^^^^^^^^^^ not an attribute 78 79error: can't use a procedural macro from the same crate that defines it 80 --> $DIR/macro-namespace-reserved-2.rs:50:10 81 | 82LL | #[derive(crate::my_macro)] 83 | ^^^^^^^^^^^^^^^ 84 85error: expected derive macro, found macro `crate::my_macro` 86 --> $DIR/macro-namespace-reserved-2.rs:50:10 87 | 88LL | #[derive(crate::my_macro)] 89 | ^^^^^^^^^^^^^^^ not a derive macro 90 91error: cannot find macro `my_macro_attr` in this scope 92 --> $DIR/macro-namespace-reserved-2.rs:28:5 93 | 94LL | my_macro_attr!(); 95 | ^^^^^^^^^^^^^ 96 97error: cannot find macro `MyTrait` in this scope 98 --> $DIR/macro-namespace-reserved-2.rs:33:5 99 | 100LL | MyTrait!(); 101 | ^^^^^^^ 102 103error: cannot find attribute `my_macro` in this scope 104 --> $DIR/macro-namespace-reserved-2.rs:38:3 105 | 106LL | #[my_macro] 107 | ^^^^^^^^ 108 109error: cannot find derive macro `my_macro` in this scope 110 --> $DIR/macro-namespace-reserved-2.rs:48:10 111 | 112LL | #[derive(my_macro)] 113 | ^^^^^^^^ 114 115error: cannot find derive macro `my_macro` in this scope 116 --> $DIR/macro-namespace-reserved-2.rs:48:10 117 | 118LL | #[derive(my_macro)] 119 | ^^^^^^^^ 120 121error: aborting due to 20 previous errors 122