1 // Check that an issue value can be explicitly set to "0" instead of "none"
3 #![feature(staged_api)]
4 #![stable(feature = "stable_test_feature", since = "1.0.0")]
6 #[unstable(feature = "unstable_test_feature", issue = "0")]
7 fn unstable_issue_0() {} //~^ ERROR `issue` must be a non-zero numeric string or "none"
9 #[unstable(feature = "unstable_test_feature", issue = "none")]
10 fn unstable_issue_none() {}
12 #[unstable(feature = "unstable_test_feature", issue = "something")]
13 fn unstable_issue_not_allowed() {} //~^ ERROR `issue` must be a non-zero numeric string or "none"