Add 'feature' and 'since' to stability attributes
This commit is contained in:
@@ -568,7 +568,8 @@ impl<'a> ExtCtxt<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
#[deprecated = "Replaced with `expander().fold_expr()`"]
|
||||
#[deprecated(feature = "oldstuff", 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