diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-01-10 11:16:54 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-01-10 11:16:54 -0800 |
| commit | 2a1b6c4de993c8db1bda35d58426d873e9e514c2 (patch) | |
| tree | a348bb8b51487c1504a9c923c2bf489e58047348 /src/libsyntax/ext/auto_encode.rs | |
| parent | 982830c836b8c2c9cb3fd311c826bf5775ad1232 (diff) | |
| download | rust-2a1b6c4de993c8db1bda35d58426d873e9e514c2.tar.gz rust-2a1b6c4de993c8db1bda35d58426d873e9e514c2.zip | |
librustc: Implement `&static` as the replacement for `Durable`. r=nmatsakis
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 90df6fde8e3..2b3fefd6e51 100644 --- a/src/libsyntax/ext/auto_encode.rs +++ b/src/libsyntax/ext/auto_encode.rs @@ -245,7 +245,7 @@ priv impl ext_ctxt { path: @ast::path, bounds: @~[ast::ty_param_bound] ) -> ast::ty_param { - let bound = ast::ty_param_bound(@{ + let bound = ast::TraitTyParamBound(@{ id: self.next_id(), node: ast::ty_path(path, self.next_id()), span: span, @@ -397,7 +397,7 @@ fn mk_impl( let mut trait_tps = vec::append( ~[ty_param], do tps.map |tp| { - let t_bound = ast::ty_param_bound(@{ + let t_bound = ast::TraitTyParamBound(@{ id: cx.next_id(), node: ast::ty_path(path, cx.next_id()), span: span, |
