diff options
| author | Jared Roesch <roeschinc@gmail.com> | 2015-07-25 21:30:35 -0700 |
|---|---|---|
| committer | Jared Roesch <roeschinc@gmail.com> | 2015-08-04 16:05:06 -0700 |
| commit | ad5927870cd32c5feb7f42dc4bca4a1b21e61a0e (patch) | |
| tree | 99b26782437a2cedc1a6cf56fa8c97b926f2bdef /src/libsyntax/fold.rs | |
| parent | 6afb8f58d18311109081cfaff2fa5a02948989c3 (diff) | |
| download | rust-ad5927870cd32c5feb7f42dc4bca4a1b21e61a0e.tar.gz rust-ad5927870cd32c5feb7f42dc4bca4a1b21e61a0e.zip | |
Add a macro invocation to the type AST
Reapplied the changes from https://github.com/freebroccolo/rust/commit/dc64b731d7f66c2b43d5e5e8c721be7bd3b59540 to a clean branch of master
Diffstat (limited to 'src/libsyntax/fold.rs')
| -rw-r--r-- | src/libsyntax/fold.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsyntax/fold.rs b/src/libsyntax/fold.rs index dab6d41df30..72fe9a7711d 100644 --- a/src/libsyntax/fold.rs +++ b/src/libsyntax/fold.rs @@ -429,6 +429,9 @@ pub fn noop_fold_ty<T: Folder>(t: P<Ty>, fld: &mut T) -> P<Ty> { TyPolyTraitRef(bounds) => { TyPolyTraitRef(bounds.move_map(|b| fld.fold_ty_param_bound(b))) } + TyMac(mac) => { + TyMac(fld.fold_mac(mac)) + } }, span: fld.new_span(span) }) |
