diff options
| author | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-09-06 05:42:45 +0000 |
|---|---|---|
| committer | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-09-13 09:40:28 +0000 |
| commit | b54e1e399741579612f13e2df98a25ea9447989d (patch) | |
| tree | 6663013cac173001b1d084c95730675bd57b4fcd /src/libsyntax_ext | |
| parent | 78c00398780db6f59ebf43e765fa9368dad436d2 (diff) | |
| download | rust-b54e1e399741579612f13e2df98a25ea9447989d.tar.gz rust-b54e1e399741579612f13e2df98a25ea9447989d.zip | |
Differentiate between monotonic and non-monotonic expansion and
only assign node ids during monotonic expansion.
Diffstat (limited to 'src/libsyntax_ext')
| -rw-r--r-- | src/libsyntax_ext/rustc_macro_registrar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_ext/rustc_macro_registrar.rs b/src/libsyntax_ext/rustc_macro_registrar.rs index c07e7917939..ce3e53cdf97 100644 --- a/src/libsyntax_ext/rustc_macro_registrar.rs +++ b/src/libsyntax_ext/rustc_macro_registrar.rs @@ -273,5 +273,5 @@ fn mk_registrar(cx: &mut ExtCtxt, i }); - cx.expander().fold_item(module).pop().unwrap() + cx.monotonic_expander().fold_item(module).pop().unwrap() } |
