rust/tests/ui/lint/lint-stability.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

348 lines
12 KiB
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:17:5
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | extern crate stability_cfg2;
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:45:9
2018-08-08 07:28:26 -05:00
|
LL | deprecated_unstable();
| ^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:47:9
2018-08-08 07:28:26 -05:00
|
LL | Trait::trait_deprecated_unstable(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:49:9
2018-08-08 07:28:26 -05:00
|
LL | <Foo as Trait>::trait_deprecated_unstable(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:52:9
2018-08-08 07:28:26 -05:00
|
LL | deprecated_unstable_text();
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:54:9
2018-08-08 07:28:26 -05:00
|
LL | Trait::trait_deprecated_unstable_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:56:9
2018-08-08 07:28:26 -05:00
|
LL | <Foo as Trait>::trait_deprecated_unstable_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:59:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | unstable();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:60:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | Trait::trait_unstable(&foo);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:61:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo as Trait>::trait_unstable(&foo);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature': text
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:63:9
2018-08-08 07:28:26 -05:00
|
LL | unstable_text();
| ^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature': text
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:65:9
2018-08-08 07:28:26 -05:00
|
LL | Trait::trait_unstable_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature': text
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:67:9
2018-08-08 07:28:26 -05:00
|
LL | <Foo as Trait>::trait_unstable_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:99:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = DeprecatedUnstableStruct {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:103:17
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = UnstableStruct { i: 0 };
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:107:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = DeprecatedUnstableUnitStruct;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:109:17
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = UnstableUnitStruct;
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:113:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = Enum::DeprecatedUnstableVariant;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:115:17
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = Enum::UnstableVariant;
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:119:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = DeprecatedUnstableTupleStruct (1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:121:17
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = UnstableTupleStruct (1);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:130:25
2018-08-08 07:28:26 -05:00
|
LL | macro_test_arg!(deprecated_unstable_text());
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:144:9
2018-08-08 07:28:26 -05:00
|
LL | Trait::trait_deprecated_unstable(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:146:9
2018-08-08 07:28:26 -05:00
|
LL | <Foo as Trait>::trait_deprecated_unstable(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:148:9
2018-08-08 07:28:26 -05:00
|
LL | Trait::trait_deprecated_unstable_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:150:9
2018-08-08 07:28:26 -05:00
|
LL | <Foo as Trait>::trait_deprecated_unstable_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:152:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | Trait::trait_unstable(&foo);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:153:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo as Trait>::trait_unstable(&foo);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature': text
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:154:9
2018-08-08 07:28:26 -05:00
|
LL | Trait::trait_unstable_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature': text
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:156:9
2018-08-08 07:28:26 -05:00
|
LL | <Foo as Trait>::trait_unstable_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:172:10
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | impl UnstableTrait for S { }
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:174:24
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | trait LocalTrait : UnstableTrait { }
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:179:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | fn trait_unstable(&self) {}
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:184:5
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | extern crate inherited_stability;
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:185:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | use self::inherited_stability::*;
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:188:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | unstable();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:191:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | stable_mod::unstable();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
--> $DIR/lint-stability.rs:194:9
|
LL | unstable_mod::deprecated();
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:195:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | unstable_mod::unstable();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:197:17
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = Unstable::UnstableVariant;
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
--> $DIR/lint-stability.rs:198:17
|
LL | let _ = Unstable::StableVariant;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:88:48
2018-08-08 07:28:26 -05:00
|
LL | struct S1<T: TraitWithAssociatedTypes>(T::TypeUnstable);
| ^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'unstable_test_feature'
2018-12-25 09:56:47 -06:00
--> $DIR/lint-stability.rs:92:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | TypeUnstable = u8,
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error: aborting due to 43 previous errors
2018-08-08 07:28:26 -05:00
For more information about this error, try `rustc --explain E0658`.