diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-21 00:04:20 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-21 09:27:35 -0800 |
| commit | e1d09766add86bcc32ebe02151273ccc4f699d10 (patch) | |
| tree | 9db69f914b689d7c3f176f5421a6102563f85dfd /src/libsyntax/ext/base.rs | |
| parent | bc1d818b836644b67e2027cc358aa8d86f85e287 (diff) | |
| parent | 31f5ab3f0c59f65e6758fe5ffadb617a98dcd5b4 (diff) | |
| download | rust-e1d09766add86bcc32ebe02151273ccc4f699d10.tar.gz rust-e1d09766add86bcc32ebe02151273ccc4f699d10.zip | |
rollup merge of #20059: nick29581/self-impl
r? @sfackler closes #20000
Diffstat (limited to 'src/libsyntax/ext/base.rs')
| -rw-r--r-- | src/libsyntax/ext/base.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/base.rs b/src/libsyntax/ext/base.rs index 3947a602809..aefbb2a1fea 100644 --- a/src/libsyntax/ext/base.rs +++ b/src/libsyntax/ext/base.rs @@ -490,7 +490,7 @@ impl<'a> ExtCtxt<'a> { /// Returns a `Folder` for deeply expanding all macros in a AST node. pub fn expander<'b>(&'b mut self) -> expand::MacroExpander<'b, 'a> { - expand::MacroExpander { cx: self } + expand::MacroExpander::new(self) } pub fn new_parser_from_tts(&self, tts: &[ast::TokenTree]) |
