diff options
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/attr.rs | 7 | ||||
| -rw-r--r-- | src/libsyntax/lib.rs | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs index 399a529af15..5e16465b4d4 100644 --- a/src/libsyntax/attr.rs +++ b/src/libsyntax/attr.rs @@ -532,10 +532,9 @@ fn find_stability_generic<'a, } } else if stab.as_ref().map_or(false, |s| s.level == Unstable && s.issue.is_none()) { // non-deprecated unstable items need to point to issues. - // FIXME: uncomment this error - // diagnostic.span_err(item_sp, - // "non-deprecated unstable items need to point \ - // to an issue with `issue = \"NNN\"`"); + diagnostic.span_err(item_sp, + "non-deprecated unstable items need to point \ + to an issue with `issue = \"NNN\"`"); } (stab, used_attrs) diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 290efb15195..0d1fa6dd726 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -17,7 +17,7 @@ // Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364) #![cfg_attr(stage0, feature(custom_attribute))] #![crate_name = "syntax"] -#![unstable(feature = "rustc_private")] +#![unstable(feature = "rustc_private", issue = "27812")] #![staged_api] #![crate_type = "dylib"] #![crate_type = "rlib"] |
