2018-03-03 14:26:18 -06:00
|
|
|
error[E0601]: main function not found in crate issue_43106_gating_of_stable
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
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"]
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
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"]
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
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"] }
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
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() { }
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
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;
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
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;
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
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 { }
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-01-02 13:00:12 -06:00
|
|
|
error: aborting due to 8 previous errors
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0601`.
|