fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private 2 --> $DIR/associated-item-privacy-inherent.rs:13:21 3 | 4LL | let value = Pub::method; 5 | ^^^^^^^^^^^ 6... 7LL | priv_nominal::mac!(); 8 | --------------------- in this macro invocation 9 10error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private 11 --> $DIR/associated-item-privacy-inherent.rs:15:9 12 | 13LL | value; 14 | ^^^^^ 15... 16LL | priv_nominal::mac!(); 17 | --------------------- in this macro invocation 18 19error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private 20 --> $DIR/associated-item-privacy-inherent.rs:17:13 21 | 22LL | Pub.method(); 23 | ^^^^^^ 24... 25LL | priv_nominal::mac!(); 26 | --------------------- in this macro invocation 27 28error: associated constant `CONST` is private 29 --> $DIR/associated-item-privacy-inherent.rs:19:9 30 | 31LL | Pub::CONST; 32 | ^^^^^^^^^^ 33... 34LL | priv_nominal::mac!(); 35 | --------------------- in this macro invocation 36 37error: type `priv_signature::Priv` is private 38 --> $DIR/associated-item-privacy-inherent.rs:37:21 39 | 40LL | let value = Pub::method; 41 | ^^^^^^^^^^^ 42... 43LL | priv_signature::mac!(); 44 | ----------------------- in this macro invocation 45 46error: type `priv_signature::Priv` is private 47 --> $DIR/associated-item-privacy-inherent.rs:39:9 48 | 49LL | value; 50 | ^^^^^ 51... 52LL | priv_signature::mac!(); 53 | ----------------------- in this macro invocation 54 55error: type `priv_signature::Priv` is private 56 --> $DIR/associated-item-privacy-inherent.rs:41:13 57 | 58LL | Pub.method(loop {}); 59 | ^^^^^^ 60... 61LL | priv_signature::mac!(); 62 | ----------------------- in this macro invocation 63 64error: type `priv_substs::Priv` is private 65 --> $DIR/associated-item-privacy-inherent.rs:57:21 66 | 67LL | let value = Pub::method::<Priv>; 68 | ^^^^^^^^^^^^^^^^^^^ 69... 70LL | priv_substs::mac!(); 71 | -------------------- in this macro invocation 72 73error: type `priv_substs::Priv` is private 74 --> $DIR/associated-item-privacy-inherent.rs:59:9 75 | 76LL | value; 77 | ^^^^^ 78... 79LL | priv_substs::mac!(); 80 | -------------------- in this macro invocation 81 82error: type `priv_substs::Priv` is private 83 --> $DIR/associated-item-privacy-inherent.rs:61:9 84 | 85LL | Pub.method::<Priv>(); 86 | ^^^^^^^^^^^^^^^^^^^^ 87... 88LL | priv_substs::mac!(); 89 | -------------------- in this macro invocation 90 91error: type `priv_parent_substs::Priv` is private 92 --> $DIR/associated-item-privacy-inherent.rs:80:21 93 | 94LL | let value = <Pub>::method; 95 | ^^^^^^^^^^^^^ 96... 97LL | priv_parent_substs::mac!(); 98 | --------------------------- in this macro invocation 99 100error: type `priv_parent_substs::Priv` is private 101 --> $DIR/associated-item-privacy-inherent.rs:82:9 102 | 103LL | value; 104 | ^^^^^ 105... 106LL | priv_parent_substs::mac!(); 107 | --------------------------- in this macro invocation 108 109error: type `priv_parent_substs::Priv` is private 110 --> $DIR/associated-item-privacy-inherent.rs:84:21 111 | 112LL | let value = Pub::method; 113 | ^^^^^^^^^^^ 114... 115LL | priv_parent_substs::mac!(); 116 | --------------------------- in this macro invocation 117 118error: type `priv_parent_substs::Priv` is private 119 --> $DIR/associated-item-privacy-inherent.rs:86:9 120 | 121LL | value; 122 | ^^^^^ 123... 124LL | priv_parent_substs::mac!(); 125 | --------------------------- in this macro invocation 126 127error: type `priv_parent_substs::Priv` is private 128 --> $DIR/associated-item-privacy-inherent.rs:88:21 129 | 130LL | let value = <Pub>::static_method; 131 | ^^^^^^^^^^^^^^^^^^^^ 132... 133LL | priv_parent_substs::mac!(); 134 | --------------------------- in this macro invocation 135 136error: type `priv_parent_substs::Priv` is private 137 --> $DIR/associated-item-privacy-inherent.rs:90:9 138 | 139LL | value; 140 | ^^^^^ 141... 142LL | priv_parent_substs::mac!(); 143 | --------------------------- in this macro invocation 144 145error: type `priv_parent_substs::Priv` is private 146 --> $DIR/associated-item-privacy-inherent.rs:92:21 147 | 148LL | let value = Pub::static_method; 149 | ^^^^^^^^^^^^^^^^^^ 150... 151LL | priv_parent_substs::mac!(); 152 | --------------------------- in this macro invocation 153 154error: type `priv_parent_substs::Priv` is private 155 --> $DIR/associated-item-privacy-inherent.rs:94:9 156 | 157LL | value; 158 | ^^^^^ 159... 160LL | priv_parent_substs::mac!(); 161 | --------------------------- in this macro invocation 162 163error: type `priv_parent_substs::Priv` is private 164 --> $DIR/associated-item-privacy-inherent.rs:96:19 165 | 166LL | Pub(Priv).method(); 167 | ^^^^^^ 168... 169LL | priv_parent_substs::mac!(); 170 | --------------------------- in this macro invocation 171 172error: type `priv_parent_substs::Priv` is private 173 --> $DIR/associated-item-privacy-inherent.rs:99:10 174 | 175LL | <Pub>::CONST; 176 | ^^^ 177... 178LL | priv_parent_substs::mac!(); 179 | --------------------------- in this macro invocation 180 181error: type `priv_parent_substs::Priv` is private 182 --> $DIR/associated-item-privacy-inherent.rs:101:9 183 | 184LL | Pub::CONST; 185 | ^^^^^^^^^^ 186... 187LL | priv_parent_substs::mac!(); 188 | --------------------------- in this macro invocation 189 190error: aborting due to 21 previous errors 191