rust/src/test/ui/feature-gate/issue-43106-gating-of-stable.stderr

45 lines
1.4 KiB
Plaintext
Raw Normal View History

error: stability attributes may not be used outside of the standard library
--> $DIR/issue-43106-gating-of-stable.rs:17:1
|
2018-02-22 18:42:32 -06:00
LL | #![stable = "1300"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: stability attributes may not be used outside of the standard library
--> $DIR/issue-43106-gating-of-stable.rs:20:1
|
2018-02-22 18:42:32 -06:00
LL | #[stable = "1300"]
| ^^^^^^^^^^^^^^^^^^
error: stability attributes may not be used outside of the standard library
--> $DIR/issue-43106-gating-of-stable.rs:23:17
|
2018-02-22 18:42:32 -06:00
LL | mod inner { #![stable="1300"] }
| ^^^^^^^^^^^^^^^^^
error: stability attributes may not be used outside of the standard library
--> $DIR/issue-43106-gating-of-stable.rs:26:5
|
2018-02-22 18:42:32 -06:00
LL | #[stable = "1300"] fn f() { }
| ^^^^^^^^^^^^^^^^^^
error: stability attributes may not be used outside of the standard library
--> $DIR/issue-43106-gating-of-stable.rs:29:5
|
2018-02-22 18:42:32 -06:00
LL | #[stable = "1300"] struct S;
| ^^^^^^^^^^^^^^^^^^
error: stability attributes may not be used outside of the standard library
--> $DIR/issue-43106-gating-of-stable.rs:32:5
|
2018-02-22 18:42:32 -06:00
LL | #[stable = "1300"] type T = S;
| ^^^^^^^^^^^^^^^^^^
error: stability attributes may not be used outside of the standard library
--> $DIR/issue-43106-gating-of-stable.rs:35:5
|
2018-02-22 18:42:32 -06:00
LL | #[stable = "1300"] impl S { }
| ^^^^^^^^^^^^^^^^^^
error: aborting due to 7 previous errors