Deprecated attributes don't take 'feature' names and are paired with stable/unstable
Conflicts: src/libcore/atomic.rs src/libcore/finally.rs src/test/auxiliary/inherited_stability.rs src/test/auxiliary/lint_stability.rs
This commit is contained in:
@@ -568,7 +568,8 @@ impl<'a> ExtCtxt<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
#[deprecated(feature = "oldstuff", since = "1.0.0",
|
||||
#[unstable(feature = "rustc_private")]
|
||||
#[deprecated(since = "1.0.0",
|
||||
reason = "Replaced with `expander().fold_expr()`")]
|
||||
pub fn expand_expr(&mut self, e: P<ast::Expr>) -> P<ast::Expr> {
|
||||
self.expander().fold_expr(e)
|
||||
|
||||
Reference in New Issue
Block a user