1 error[E0658]: use of unstable library feature 'unstable_test_feature'
2 --> $DIR/lint-stability.rs:27:5
4 LL | extern crate stability_cfg2; //~ ERROR use of unstable library feature
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
9 error[E0658]: use of unstable library feature 'unstable_test_feature'
10 --> $DIR/lint-stability.rs:55:9
12 LL | deprecated_unstable();
15 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
17 error[E0658]: use of unstable library feature 'unstable_test_feature'
18 --> $DIR/lint-stability.rs:57:9
20 LL | Trait::trait_deprecated_unstable(&foo);
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
25 error[E0658]: use of unstable library feature 'unstable_test_feature'
26 --> $DIR/lint-stability.rs:59:9
28 LL | <Foo as Trait>::trait_deprecated_unstable(&foo);
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
33 error[E0658]: use of unstable library feature 'unstable_test_feature'
34 --> $DIR/lint-stability.rs:62:9
36 LL | deprecated_unstable_text();
37 | ^^^^^^^^^^^^^^^^^^^^^^^^
39 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
41 error[E0658]: use of unstable library feature 'unstable_test_feature'
42 --> $DIR/lint-stability.rs:64:9
44 LL | Trait::trait_deprecated_unstable_text(&foo);
45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
49 error[E0658]: use of unstable library feature 'unstable_test_feature'
50 --> $DIR/lint-stability.rs:66:9
52 LL | <Foo as Trait>::trait_deprecated_unstable_text(&foo);
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
55 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
57 error[E0658]: use of unstable library feature 'unstable_test_feature'
58 --> $DIR/lint-stability.rs:69:9
60 LL | unstable(); //~ ERROR use of unstable library feature
63 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
65 error[E0658]: use of unstable library feature 'unstable_test_feature'
66 --> $DIR/lint-stability.rs:70:9
68 LL | Trait::trait_unstable(&foo); //~ ERROR use of unstable library feature
69 | ^^^^^^^^^^^^^^^^^^^^^
71 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
73 error[E0658]: use of unstable library feature 'unstable_test_feature'
74 --> $DIR/lint-stability.rs:71:9
76 LL | <Foo as Trait>::trait_unstable(&foo); //~ ERROR use of unstable library feature
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
79 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
81 error[E0658]: use of unstable library feature 'unstable_test_feature': text
82 --> $DIR/lint-stability.rs:73:9
87 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
89 error[E0658]: use of unstable library feature 'unstable_test_feature': text
90 --> $DIR/lint-stability.rs:75:9
92 LL | Trait::trait_unstable_text(&foo);
93 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
95 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
97 error[E0658]: use of unstable library feature 'unstable_test_feature': text
98 --> $DIR/lint-stability.rs:77:9
100 LL | <Foo as Trait>::trait_unstable_text(&foo);
101 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
105 error[E0658]: use of unstable library feature 'unstable_test_feature'
106 --> $DIR/lint-stability.rs:109:17
108 LL | let _ = DeprecatedUnstableStruct {
109 | ^^^^^^^^^^^^^^^^^^^^^^^^
111 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
113 error[E0658]: use of unstable library feature 'unstable_test_feature'
114 --> $DIR/lint-stability.rs:113:17
116 LL | let _ = UnstableStruct { i: 0 }; //~ ERROR use of unstable library feature
119 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
121 error[E0658]: use of unstable library feature 'unstable_test_feature'
122 --> $DIR/lint-stability.rs:117:17
124 LL | let _ = DeprecatedUnstableUnitStruct;
125 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
129 error[E0658]: use of unstable library feature 'unstable_test_feature'
130 --> $DIR/lint-stability.rs:119:17
132 LL | let _ = UnstableUnitStruct; //~ ERROR use of unstable library feature
135 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
137 error[E0658]: use of unstable library feature 'unstable_test_feature'
138 --> $DIR/lint-stability.rs:123:17
140 LL | let _ = Enum::DeprecatedUnstableVariant;
141 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
143 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
145 error[E0658]: use of unstable library feature 'unstable_test_feature'
146 --> $DIR/lint-stability.rs:125:17
148 LL | let _ = Enum::UnstableVariant; //~ ERROR use of unstable library feature
149 | ^^^^^^^^^^^^^^^^^^^^^
151 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
153 error[E0658]: use of unstable library feature 'unstable_test_feature'
154 --> $DIR/lint-stability.rs:129:17
156 LL | let _ = DeprecatedUnstableTupleStruct (1);
157 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
159 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
161 error[E0658]: use of unstable library feature 'unstable_test_feature'
162 --> $DIR/lint-stability.rs:131:17
164 LL | let _ = UnstableTupleStruct (1); //~ ERROR use of unstable library feature
165 | ^^^^^^^^^^^^^^^^^^^
167 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
169 error[E0658]: use of unstable library feature 'unstable_test_feature'
170 --> $DIR/lint-stability.rs:140:25
172 LL | macro_test_arg!(deprecated_unstable_text());
173 | ^^^^^^^^^^^^^^^^^^^^^^^^
175 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
177 error[E0658]: use of unstable library feature 'unstable_test_feature'
178 --> $DIR/lint-stability.rs:154:9
180 LL | Trait::trait_deprecated_unstable(&foo);
181 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
183 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
185 error[E0658]: use of unstable library feature 'unstable_test_feature'
186 --> $DIR/lint-stability.rs:156:9
188 LL | <Foo as Trait>::trait_deprecated_unstable(&foo);
189 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
191 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
193 error[E0658]: use of unstable library feature 'unstable_test_feature'
194 --> $DIR/lint-stability.rs:158:9
196 LL | Trait::trait_deprecated_unstable_text(&foo);
197 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
199 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
201 error[E0658]: use of unstable library feature 'unstable_test_feature'
202 --> $DIR/lint-stability.rs:160:9
204 LL | <Foo as Trait>::trait_deprecated_unstable_text(&foo);
205 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
207 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
209 error[E0658]: use of unstable library feature 'unstable_test_feature'
210 --> $DIR/lint-stability.rs:162:9
212 LL | Trait::trait_unstable(&foo); //~ ERROR use of unstable library feature
213 | ^^^^^^^^^^^^^^^^^^^^^
215 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
217 error[E0658]: use of unstable library feature 'unstable_test_feature'
218 --> $DIR/lint-stability.rs:163:9
220 LL | <Foo as Trait>::trait_unstable(&foo); //~ ERROR use of unstable library feature
221 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
223 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
225 error[E0658]: use of unstable library feature 'unstable_test_feature': text
226 --> $DIR/lint-stability.rs:164:9
228 LL | Trait::trait_unstable_text(&foo);
229 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
231 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
233 error[E0658]: use of unstable library feature 'unstable_test_feature': text
234 --> $DIR/lint-stability.rs:166:9
236 LL | <Foo as Trait>::trait_unstable_text(&foo);
237 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
239 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
241 error[E0658]: use of unstable library feature 'unstable_test_feature'
242 --> $DIR/lint-stability.rs:182:10
244 LL | impl UnstableTrait for S { } //~ ERROR use of unstable library feature
247 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
249 error[E0658]: use of unstable library feature 'unstable_test_feature'
250 --> $DIR/lint-stability.rs:184:24
252 LL | trait LocalTrait : UnstableTrait { } //~ ERROR use of unstable library feature
255 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
257 error[E0658]: use of unstable library feature 'unstable_test_feature'
258 --> $DIR/lint-stability.rs:189:9
260 LL | fn trait_unstable(&self) {} //~ ERROR use of unstable library feature
261 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
263 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
265 error[E0658]: use of unstable library feature 'unstable_test_feature'
266 --> $DIR/lint-stability.rs:194:5
268 LL | extern crate inherited_stability; //~ ERROR use of unstable library feature
269 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
271 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
273 error[E0658]: use of unstable library feature 'unstable_test_feature'
274 --> $DIR/lint-stability.rs:195:9
276 LL | use self::inherited_stability::*; //~ ERROR use of unstable library feature
277 | ^^^^^^^^^^^^^^^^^^^^^^^^^
279 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
281 error[E0658]: use of unstable library feature 'unstable_test_feature'
282 --> $DIR/lint-stability.rs:198:9
284 LL | unstable(); //~ ERROR use of unstable library feature
287 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
289 error[E0658]: use of unstable library feature 'unstable_test_feature'
290 --> $DIR/lint-stability.rs:201:9
292 LL | stable_mod::unstable(); //~ ERROR use of unstable library feature
293 | ^^^^^^^^^^^^^^^^^^^^
295 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
297 error[E0658]: use of unstable library feature 'unstable_test_feature'
298 --> $DIR/lint-stability.rs:205:9
300 LL | unstable_mod::unstable(); //~ ERROR use of unstable library feature
301 | ^^^^^^^^^^^^^^^^^^^^^^
303 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
305 error[E0658]: use of unstable library feature 'unstable_test_feature'
306 --> $DIR/lint-stability.rs:207:17
308 LL | let _ = Unstable::UnstableVariant; //~ ERROR use of unstable library feature
309 | ^^^^^^^^^^^^^^^^^^^^^^^^^
311 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
313 error[E0658]: use of unstable library feature 'unstable_test_feature'
314 --> $DIR/lint-stability.rs:98:48
316 LL | struct S1<T: TraitWithAssociatedTypes>(T::TypeUnstable);
319 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
321 error[E0658]: use of unstable library feature 'unstable_test_feature'
322 --> $DIR/lint-stability.rs:102:13
324 LL | TypeUnstable = u8, //~ ERROR use of unstable library feature
327 = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
329 error: aborting due to 41 previous errors
331 For more information about this error, try `rustc --explain E0658`.