diff options
Diffstat (limited to 'src/libsyntax/ext/auto_encode.rs')
| -rw-r--r-- | src/libsyntax/ext/auto_encode.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/auto_encode.rs b/src/libsyntax/ext/auto_encode.rs index bc28e836802..a80a56fe4f1 100644 --- a/src/libsyntax/ext/auto_encode.rs +++ b/src/libsyntax/ext/auto_encode.rs @@ -251,7 +251,7 @@ priv impl ext_ctxt { span: span, }); - { + ast::ty_param { ident: ident, id: self.next_id(), bounds: @vec::append(~[bound], *bounds) @@ -425,7 +425,7 @@ fn mk_impl( span: span, }); - { + ast::ty_param { ident: tp.ident, id: cx.next_id(), bounds: @vec::append(~[t_bound], *tp.bounds) |
