2019-12-21 05:16:18 -06:00
|
|
|
// Check that an issue value can be explicitly set to "0" instead of "none"
|
2019-11-11 11:33:30 -06:00
|
|
|
#![crate_type = "lib"]
|
|
|
|
#![feature(staged_api)]
|
|
|
|
#![stable(feature = "stable_test_feature", since = "1.0.0")]
|
|
|
|
|
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "0")]
|
|
|
|
fn unstable_issue_0() {}
|
|
|
|
|
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
|
|
|
fn unstable_issue_none() {}
|
|
|
|
|
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "something")] //~ ERROR incorrect 'issue'
|
|
|
|
fn unstable_issue_not_allowed() {}
|