1 error[E0658]: use of unstable library feature 'unstable_test_feature'
2 --> $DIR/lint-stability.rs:17:5
4 LL | extern crate stability_cfg2;
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:45: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:47: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:49: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:52: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:54: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:56: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:59:9
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:60:9
68 LL | Trait::trait_unstable(&foo);
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:61:9
76 LL | <Foo as Trait>::trait_unstable(&foo);
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:63: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:65: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:67: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:99: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:103:17
116 LL | let _ = UnstableStruct { i: 0 };
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:107: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:109:17
132 LL | let _ = UnstableUnitStruct;
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:113: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:115:17
148 LL | let _ = Enum::UnstableVariant;
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:119: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:121:17
164 LL | let _ = UnstableTupleStruct (1);
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:130: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:144: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:146: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:148: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:150: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:152:9
212 LL | Trait::trait_unstable(&foo);
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:153:9
220 LL | <Foo as Trait>::trait_unstable(&foo);
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:154: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:156: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:172:10
244 LL | impl UnstableTrait for S { }
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:174:24
252 LL | trait LocalTrait : UnstableTrait { }
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:179:9
260 LL | fn trait_unstable(&self) {}
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:184:5
268 LL | extern crate inherited_stability;
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:185:9
276 LL | use self::inherited_stability::*;
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:188:9
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:191:9
292 LL | stable_mod::unstable();
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:195:9
300 LL | unstable_mod::unstable();
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:197:17
308 LL | let _ = Unstable::UnstableVariant;
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:88: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:92:13
324 LL | TypeUnstable = u8,
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`.