2017-12-06 02:27:47 -06:00
|
|
|
error: stability attributes may not be used outside of the standard library
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-stable.rs:7:1
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #![stable = "1300"]
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: stability attributes may not be used outside of the standard library
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-stable.rs:10:1
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #[stable = "1300"]
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: stability attributes may not be used outside of the standard library
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-stable.rs:13:17
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | mod inner { #![stable="1300"] }
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: stability attributes may not be used outside of the standard library
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-stable.rs:16:5
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #[stable = "1300"] fn f() { }
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: stability attributes may not be used outside of the standard library
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-stable.rs:19:5
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #[stable = "1300"] struct S;
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: stability attributes may not be used outside of the standard library
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-stable.rs:22:5
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #[stable = "1300"] type T = S;
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: stability attributes may not be used outside of the standard library
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-stable.rs:25:5
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #[stable = "1300"] impl S { }
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-03-12 15:21:43 -05:00
|
|
|
error: aborting due to 7 previous errors
|
2017-12-06 02:27:47 -06:00
|
|
|
|