remove deprecated APIs missed in #30182
This commit is contained in:
@@ -601,13 +601,6 @@ impl<'a> ExtCtxt<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
#[unstable(feature = "rustc_private", issue = "0")]
|
||||
#[rustc_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)
|
||||
}
|
||||
|
||||
/// Returns a `Folder` for deeply expanding all macros in an AST node.
|
||||
pub fn expander<'b>(&'b mut self) -> expand::MacroExpander<'b, 'a> {
|
||||
expand::MacroExpander::new(self)
|
||||
|
||||
Reference in New Issue
Block a user