]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/lint-stability.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / lint / lint-stability.stderr
CommitLineData
b7449926 1error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 2 --> $DIR/lint-stability.rs:17:5
b7449926 3 |
532ac7d7 4LL | 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
9error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 10 --> $DIR/lint-stability.rs:45:9
b7449926
XL
11 |
12LL | deprecated_unstable();
13 | ^^^^^^^^^^^^^^^^^^^
14 |
416331ca 15 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
16
17error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 18 --> $DIR/lint-stability.rs:47:9
b7449926
XL
19 |
20LL | Trait::trait_deprecated_unstable(&foo);
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 |
416331ca 23 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
24
25error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 26 --> $DIR/lint-stability.rs:49:9
b7449926
XL
27 |
28LL | <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
33error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 34 --> $DIR/lint-stability.rs:52:9
b7449926
XL
35 |
36LL | deprecated_unstable_text();
37 | ^^^^^^^^^^^^^^^^^^^^^^^^
38 |
416331ca 39 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
40
41error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 42 --> $DIR/lint-stability.rs:54:9
b7449926
XL
43 |
44LL | 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
49error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 50 --> $DIR/lint-stability.rs:56:9
b7449926
XL
51 |
52LL | <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
57error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 58 --> $DIR/lint-stability.rs:59:9
b7449926 59 |
532ac7d7 60LL | unstable();
b7449926
XL
61 | ^^^^^^^^
62 |
416331ca 63 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
64
65error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 66 --> $DIR/lint-stability.rs:60:9
b7449926 67 |
532ac7d7 68LL | 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
73error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 74 --> $DIR/lint-stability.rs:61:9
b7449926 75 |
532ac7d7 76LL | <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
81error[E0658]: use of unstable library feature 'unstable_test_feature': text
0731742a 82 --> $DIR/lint-stability.rs:63:9
b7449926
XL
83 |
84LL | unstable_text();
85 | ^^^^^^^^^^^^^
86 |
416331ca 87 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
88
89error[E0658]: use of unstable library feature 'unstable_test_feature': text
0731742a 90 --> $DIR/lint-stability.rs:65:9
b7449926
XL
91 |
92LL | Trait::trait_unstable_text(&foo);
93 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
94 |
416331ca 95 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
96
97error[E0658]: use of unstable library feature 'unstable_test_feature': text
0731742a 98 --> $DIR/lint-stability.rs:67:9
b7449926
XL
99 |
100LL | <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
105error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 106 --> $DIR/lint-stability.rs:99:17
b7449926
XL
107 |
108LL | let _ = DeprecatedUnstableStruct {
109 | ^^^^^^^^^^^^^^^^^^^^^^^^
110 |
416331ca 111 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
112
113error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 114 --> $DIR/lint-stability.rs:103:17
b7449926 115 |
532ac7d7 116LL | 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
121error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 122 --> $DIR/lint-stability.rs:107:17
b7449926
XL
123 |
124LL | let _ = DeprecatedUnstableUnitStruct;
125 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
126 |
416331ca 127 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
128
129error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 130 --> $DIR/lint-stability.rs:109:17
b7449926 131 |
532ac7d7 132LL | let _ = UnstableUnitStruct;
b7449926
XL
133 | ^^^^^^^^^^^^^^^^^^
134 |
416331ca 135 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
136
137error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 138 --> $DIR/lint-stability.rs:113:17
b7449926
XL
139 |
140LL | let _ = Enum::DeprecatedUnstableVariant;
141 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
142 |
416331ca 143 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
144
145error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 146 --> $DIR/lint-stability.rs:115:17
b7449926 147 |
532ac7d7 148LL | let _ = Enum::UnstableVariant;
b7449926
XL
149 | ^^^^^^^^^^^^^^^^^^^^^
150 |
416331ca 151 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
152
153error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 154 --> $DIR/lint-stability.rs:119:17
b7449926
XL
155 |
156LL | let _ = DeprecatedUnstableTupleStruct (1);
157 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
158 |
416331ca 159 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
160
161error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 162 --> $DIR/lint-stability.rs:121:17
b7449926 163 |
532ac7d7 164LL | let _ = UnstableTupleStruct (1);
b7449926
XL
165 | ^^^^^^^^^^^^^^^^^^^
166 |
416331ca 167 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
168
169error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 170 --> $DIR/lint-stability.rs:130:25
b7449926
XL
171 |
172LL | 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
177error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 178 --> $DIR/lint-stability.rs:144:9
b7449926
XL
179 |
180LL | Trait::trait_deprecated_unstable(&foo);
181 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
182 |
416331ca 183 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
184
185error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 186 --> $DIR/lint-stability.rs:146:9
b7449926
XL
187 |
188LL | <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
193error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 194 --> $DIR/lint-stability.rs:148:9
b7449926
XL
195 |
196LL | 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
201error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 202 --> $DIR/lint-stability.rs:150:9
b7449926
XL
203 |
204LL | <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
209error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 210 --> $DIR/lint-stability.rs:152:9
b7449926 211 |
532ac7d7 212LL | 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
217error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 218 --> $DIR/lint-stability.rs:153:9
b7449926 219 |
532ac7d7 220LL | <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
225error[E0658]: use of unstable library feature 'unstable_test_feature': text
0731742a 226 --> $DIR/lint-stability.rs:154:9
b7449926
XL
227 |
228LL | Trait::trait_unstable_text(&foo);
229 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
230 |
416331ca 231 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
232
233error[E0658]: use of unstable library feature 'unstable_test_feature': text
0731742a 234 --> $DIR/lint-stability.rs:156:9
b7449926
XL
235 |
236LL | <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
241error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 242 --> $DIR/lint-stability.rs:172:10
b7449926 243 |
532ac7d7 244LL | 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
249error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 250 --> $DIR/lint-stability.rs:174:24
b7449926 251 |
532ac7d7 252LL | trait LocalTrait : UnstableTrait { }
b7449926
XL
253 | ^^^^^^^^^^^^^
254 |
416331ca 255 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
256
257error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 258 --> $DIR/lint-stability.rs:179:9
b7449926 259 |
532ac7d7 260LL | 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
265error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 266 --> $DIR/lint-stability.rs:184:5
b7449926 267 |
532ac7d7 268LL | 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
273error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 274 --> $DIR/lint-stability.rs:185:9
b7449926 275 |
532ac7d7 276LL | 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
281error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 282 --> $DIR/lint-stability.rs:188:9
b7449926 283 |
532ac7d7 284LL | unstable();
b7449926
XL
285 | ^^^^^^^^
286 |
416331ca 287 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
288
289error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 290 --> $DIR/lint-stability.rs:191:9
b7449926 291 |
532ac7d7 292LL | 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
297error[E0658]: use of unstable library feature 'unstable_test_feature'
298 --> $DIR/lint-stability.rs:194:9
299 |
300LL | unstable_mod::deprecated();
301 | ^^^^^^^^^^^^^^^^^^^^^^^^
302 |
303 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
304
b7449926 305error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 306 --> $DIR/lint-stability.rs:195:9
b7449926 307 |
532ac7d7 308LL | unstable_mod::unstable();
b7449926
XL
309 | ^^^^^^^^^^^^^^^^^^^^^^
310 |
416331ca 311 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926
XL
312
313error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 314 --> $DIR/lint-stability.rs:197:17
b7449926 315 |
532ac7d7 316LL | 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
321error[E0658]: use of unstable library feature 'unstable_test_feature'
322 --> $DIR/lint-stability.rs:198:17
323 |
324LL | let _ = Unstable::StableVariant;
325 | ^^^^^^^^^^^^^^^^^^^^^^^
326 |
327 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
328
b7449926 329error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 330 --> $DIR/lint-stability.rs:88:48
b7449926
XL
331 |
332LL | 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
337error[E0658]: use of unstable library feature 'unstable_test_feature'
0731742a 338 --> $DIR/lint-stability.rs:92:13
b7449926 339 |
532ac7d7 340LL | TypeUnstable = u8,
b7449926
XL
341 | ^^^^^^^^^^^^^^^^^
342 |
416331ca 343 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
b7449926 344
064997fb 345error: aborting due to 43 previous errors
b7449926
XL
346
347For more information about this error, try `rustc --explain E0658`.