]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0658]: use of unstable library feature 'unstable_test_feature' |
0731742a | 2 | --> $DIR/lint-stability.rs:17:5 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | extern crate stability_cfg2; |
b7449926 XL |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
6 | | | |
416331ca | 7 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
8 | |
9 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 10 | --> $DIR/lint-stability.rs:45:9 |
b7449926 XL |
11 | | |
12 | LL | deprecated_unstable(); | |
13 | | ^^^^^^^^^^^^^^^^^^^ | |
14 | | | |
416331ca | 15 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
16 | |
17 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 18 | --> $DIR/lint-stability.rs:47:9 |
b7449926 XL |
19 | | |
20 | LL | Trait::trait_deprecated_unstable(&foo); | |
21 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
22 | | | |
416331ca | 23 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
24 | |
25 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 26 | --> $DIR/lint-stability.rs:49:9 |
b7449926 XL |
27 | | |
28 | LL | <Foo as Trait>::trait_deprecated_unstable(&foo); | |
29 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
30 | | | |
416331ca | 31 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
32 | |
33 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 34 | --> $DIR/lint-stability.rs:52:9 |
b7449926 XL |
35 | | |
36 | LL | deprecated_unstable_text(); | |
37 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
38 | | | |
416331ca | 39 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
40 | |
41 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 42 | --> $DIR/lint-stability.rs:54:9 |
b7449926 XL |
43 | | |
44 | LL | Trait::trait_deprecated_unstable_text(&foo); | |
45 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
46 | | | |
416331ca | 47 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
48 | |
49 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 50 | --> $DIR/lint-stability.rs:56:9 |
b7449926 XL |
51 | | |
52 | LL | <Foo as Trait>::trait_deprecated_unstable_text(&foo); | |
53 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
54 | | | |
416331ca | 55 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
56 | |
57 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 58 | --> $DIR/lint-stability.rs:59:9 |
b7449926 | 59 | | |
532ac7d7 | 60 | LL | unstable(); |
b7449926 XL |
61 | | ^^^^^^^^ |
62 | | | |
416331ca | 63 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
64 | |
65 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 66 | --> $DIR/lint-stability.rs:60:9 |
b7449926 | 67 | | |
532ac7d7 | 68 | LL | Trait::trait_unstable(&foo); |
b7449926 XL |
69 | | ^^^^^^^^^^^^^^^^^^^^^ |
70 | | | |
416331ca | 71 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
72 | |
73 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 74 | --> $DIR/lint-stability.rs:61:9 |
b7449926 | 75 | | |
532ac7d7 | 76 | LL | <Foo as Trait>::trait_unstable(&foo); |
b7449926 XL |
77 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
78 | | | |
416331ca | 79 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
80 | |
81 | error[E0658]: use of unstable library feature 'unstable_test_feature': text | |
0731742a | 82 | --> $DIR/lint-stability.rs:63:9 |
b7449926 XL |
83 | | |
84 | LL | unstable_text(); | |
85 | | ^^^^^^^^^^^^^ | |
86 | | | |
416331ca | 87 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
88 | |
89 | error[E0658]: use of unstable library feature 'unstable_test_feature': text | |
0731742a | 90 | --> $DIR/lint-stability.rs:65:9 |
b7449926 XL |
91 | | |
92 | LL | Trait::trait_unstable_text(&foo); | |
93 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
94 | | | |
416331ca | 95 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
96 | |
97 | error[E0658]: use of unstable library feature 'unstable_test_feature': text | |
0731742a | 98 | --> $DIR/lint-stability.rs:67:9 |
b7449926 XL |
99 | | |
100 | LL | <Foo as Trait>::trait_unstable_text(&foo); | |
101 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
102 | | | |
416331ca | 103 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
104 | |
105 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 106 | --> $DIR/lint-stability.rs:99:17 |
b7449926 XL |
107 | | |
108 | LL | let _ = DeprecatedUnstableStruct { | |
109 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
110 | | | |
416331ca | 111 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
112 | |
113 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 114 | --> $DIR/lint-stability.rs:103:17 |
b7449926 | 115 | | |
532ac7d7 | 116 | LL | let _ = UnstableStruct { i: 0 }; |
b7449926 XL |
117 | | ^^^^^^^^^^^^^^ |
118 | | | |
416331ca | 119 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
120 | |
121 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 122 | --> $DIR/lint-stability.rs:107:17 |
b7449926 XL |
123 | | |
124 | LL | let _ = DeprecatedUnstableUnitStruct; | |
125 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
126 | | | |
416331ca | 127 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
128 | |
129 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 130 | --> $DIR/lint-stability.rs:109:17 |
b7449926 | 131 | | |
532ac7d7 | 132 | LL | let _ = UnstableUnitStruct; |
b7449926 XL |
133 | | ^^^^^^^^^^^^^^^^^^ |
134 | | | |
416331ca | 135 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
136 | |
137 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 138 | --> $DIR/lint-stability.rs:113:17 |
b7449926 XL |
139 | | |
140 | LL | let _ = Enum::DeprecatedUnstableVariant; | |
141 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
142 | | | |
416331ca | 143 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
144 | |
145 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 146 | --> $DIR/lint-stability.rs:115:17 |
b7449926 | 147 | | |
532ac7d7 | 148 | LL | let _ = Enum::UnstableVariant; |
b7449926 XL |
149 | | ^^^^^^^^^^^^^^^^^^^^^ |
150 | | | |
416331ca | 151 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
152 | |
153 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 154 | --> $DIR/lint-stability.rs:119:17 |
b7449926 XL |
155 | | |
156 | LL | let _ = DeprecatedUnstableTupleStruct (1); | |
157 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
158 | | | |
416331ca | 159 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
160 | |
161 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 162 | --> $DIR/lint-stability.rs:121:17 |
b7449926 | 163 | | |
532ac7d7 | 164 | LL | let _ = UnstableTupleStruct (1); |
b7449926 XL |
165 | | ^^^^^^^^^^^^^^^^^^^ |
166 | | | |
416331ca | 167 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
168 | |
169 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 170 | --> $DIR/lint-stability.rs:130:25 |
b7449926 XL |
171 | | |
172 | LL | macro_test_arg!(deprecated_unstable_text()); | |
173 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
174 | | | |
416331ca | 175 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
176 | |
177 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 178 | --> $DIR/lint-stability.rs:144:9 |
b7449926 XL |
179 | | |
180 | LL | Trait::trait_deprecated_unstable(&foo); | |
181 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
182 | | | |
416331ca | 183 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
184 | |
185 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 186 | --> $DIR/lint-stability.rs:146:9 |
b7449926 XL |
187 | | |
188 | LL | <Foo as Trait>::trait_deprecated_unstable(&foo); | |
189 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
190 | | | |
416331ca | 191 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
192 | |
193 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 194 | --> $DIR/lint-stability.rs:148:9 |
b7449926 XL |
195 | | |
196 | LL | Trait::trait_deprecated_unstable_text(&foo); | |
197 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
198 | | | |
416331ca | 199 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
200 | |
201 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 202 | --> $DIR/lint-stability.rs:150:9 |
b7449926 XL |
203 | | |
204 | LL | <Foo as Trait>::trait_deprecated_unstable_text(&foo); | |
205 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
206 | | | |
416331ca | 207 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
208 | |
209 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 210 | --> $DIR/lint-stability.rs:152:9 |
b7449926 | 211 | | |
532ac7d7 | 212 | LL | Trait::trait_unstable(&foo); |
b7449926 XL |
213 | | ^^^^^^^^^^^^^^^^^^^^^ |
214 | | | |
416331ca | 215 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
216 | |
217 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 218 | --> $DIR/lint-stability.rs:153:9 |
b7449926 | 219 | | |
532ac7d7 | 220 | LL | <Foo as Trait>::trait_unstable(&foo); |
b7449926 XL |
221 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
222 | | | |
416331ca | 223 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
224 | |
225 | error[E0658]: use of unstable library feature 'unstable_test_feature': text | |
0731742a | 226 | --> $DIR/lint-stability.rs:154:9 |
b7449926 XL |
227 | | |
228 | LL | Trait::trait_unstable_text(&foo); | |
229 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
230 | | | |
416331ca | 231 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
232 | |
233 | error[E0658]: use of unstable library feature 'unstable_test_feature': text | |
0731742a | 234 | --> $DIR/lint-stability.rs:156:9 |
b7449926 XL |
235 | | |
236 | LL | <Foo as Trait>::trait_unstable_text(&foo); | |
237 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
238 | | | |
416331ca | 239 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
240 | |
241 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 242 | --> $DIR/lint-stability.rs:172:10 |
b7449926 | 243 | | |
532ac7d7 | 244 | LL | impl UnstableTrait for S { } |
b7449926 XL |
245 | | ^^^^^^^^^^^^^ |
246 | | | |
416331ca | 247 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
248 | |
249 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 250 | --> $DIR/lint-stability.rs:174:24 |
b7449926 | 251 | | |
532ac7d7 | 252 | LL | trait LocalTrait : UnstableTrait { } |
b7449926 XL |
253 | | ^^^^^^^^^^^^^ |
254 | | | |
416331ca | 255 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
256 | |
257 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 258 | --> $DIR/lint-stability.rs:179:9 |
b7449926 | 259 | | |
532ac7d7 | 260 | LL | fn trait_unstable(&self) {} |
b7449926 XL |
261 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
262 | | | |
416331ca | 263 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
264 | |
265 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 266 | --> $DIR/lint-stability.rs:184:5 |
b7449926 | 267 | | |
532ac7d7 | 268 | LL | extern crate inherited_stability; |
b7449926 XL |
269 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
270 | | | |
416331ca | 271 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
272 | |
273 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 274 | --> $DIR/lint-stability.rs:185:9 |
b7449926 | 275 | | |
532ac7d7 | 276 | LL | use self::inherited_stability::*; |
b7449926 XL |
277 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
278 | | | |
416331ca | 279 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
280 | |
281 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 282 | --> $DIR/lint-stability.rs:188:9 |
b7449926 | 283 | | |
532ac7d7 | 284 | LL | unstable(); |
b7449926 XL |
285 | | ^^^^^^^^ |
286 | | | |
416331ca | 287 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
288 | |
289 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 290 | --> $DIR/lint-stability.rs:191:9 |
b7449926 | 291 | | |
532ac7d7 | 292 | LL | stable_mod::unstable(); |
b7449926 XL |
293 | | ^^^^^^^^^^^^^^^^^^^^ |
294 | | | |
416331ca | 295 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 | 296 | |
064997fb FG |
297 | error[E0658]: use of unstable library feature 'unstable_test_feature' |
298 | --> $DIR/lint-stability.rs:194:9 | |
299 | | | |
300 | LL | unstable_mod::deprecated(); | |
301 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
302 | | | |
303 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable | |
304 | ||
b7449926 | 305 | error[E0658]: use of unstable library feature 'unstable_test_feature' |
0731742a | 306 | --> $DIR/lint-stability.rs:195:9 |
b7449926 | 307 | | |
532ac7d7 | 308 | LL | unstable_mod::unstable(); |
b7449926 XL |
309 | | ^^^^^^^^^^^^^^^^^^^^^^ |
310 | | | |
416331ca | 311 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
312 | |
313 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 314 | --> $DIR/lint-stability.rs:197:17 |
b7449926 | 315 | | |
532ac7d7 | 316 | LL | let _ = Unstable::UnstableVariant; |
b7449926 XL |
317 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
318 | | | |
416331ca | 319 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 | 320 | |
064997fb FG |
321 | error[E0658]: use of unstable library feature 'unstable_test_feature' |
322 | --> $DIR/lint-stability.rs:198:17 | |
323 | | | |
324 | LL | let _ = Unstable::StableVariant; | |
325 | | ^^^^^^^^^^^^^^^^^^^^^^^ | |
326 | | | |
327 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable | |
328 | ||
b7449926 | 329 | error[E0658]: use of unstable library feature 'unstable_test_feature' |
0731742a | 330 | --> $DIR/lint-stability.rs:88:48 |
b7449926 XL |
331 | | |
332 | LL | struct S1<T: TraitWithAssociatedTypes>(T::TypeUnstable); | |
333 | | ^^^^^^^^^^^^^^^ | |
334 | | | |
416331ca | 335 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 XL |
336 | |
337 | error[E0658]: use of unstable library feature 'unstable_test_feature' | |
0731742a | 338 | --> $DIR/lint-stability.rs:92:13 |
b7449926 | 339 | | |
532ac7d7 | 340 | LL | TypeUnstable = u8, |
b7449926 XL |
341 | | ^^^^^^^^^^^^^^^^^ |
342 | | | |
416331ca | 343 | = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable |
b7449926 | 344 | |
064997fb | 345 | error: aborting due to 43 previous errors |
b7449926 XL |
346 | |
347 | For more information about this error, try `rustc --explain E0658`. |