summary refs log tree commit diff
path: root/src/libsyntax/ext
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-10-16 17:47:01 +0000
committerbors <bors@rust-lang.org>2015-10-16 17:47:01 +0000
commit747d951e883978e1d3b92bdca2cac5845869bb78 (patch)
tree544ada7e575544977e59eff325835c02b767415e /src/libsyntax/ext
parent87e26efbf28ab23fceaf1bd7cd06bd8ad066de02 (diff)
parent704d598fac81c31e65b0718a63d402ba2fd2ac9d (diff)
downloadrust-747d951e883978e1d3b92bdca2cac5845869bb78.tar.gz
rust-747d951e883978e1d3b92bdca2cac5845869bb78.zip
Auto merge of #29014 - petrochenkov:stability, r=brson
Stricter checking of stability attributes + enforcement of their invariants at compile time
(+ removed dead file librustc_front/attr.rs)
I intended to enforce use of `reason` for unstable items as well (it normally presents for new items), but it turned out too intrusive, many older unstable items don't have `reason`s.

r? @aturon 
I'm studying how stability works and do some refactoring along the way, so it's probably not the last PR.
Diffstat (limited to 'src/libsyntax/ext')
-rw-r--r--src/libsyntax/ext/base.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/base.rs b/src/libsyntax/ext/base.rs
index ef26c1deae7..a248f839d73 100644
--- a/src/libsyntax/ext/base.rs
+++ b/src/libsyntax/ext/base.rs
@@ -587,7 +587,7 @@ impl<'a> ExtCtxt<'a> {
         }
     }
 
-    #[unstable(feature = "rustc_private")]
+    #[unstable(feature = "rustc_private", issue = "0")]
     #[deprecated(since = "1.0.0",
                  reason = "Replaced with `expander().fold_expr()`")]
     pub fn expand_expr(&mut self, e: P<ast::Expr>) -> P<ast::Expr> {