diff options
| author | bors <bors@rust-lang.org> | 2013-06-29 12:02:05 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-06-29 12:02:05 -0700 |
| commit | c86df3a65cc239fd69b9a8d628808498cdb07e0d (patch) | |
| tree | b2557de482d3c0946cd683bd92dff65a1adf15f4 /src/libsyntax/ext | |
| parent | 88830996d811be3ff833ba590c98f28daaf31f43 (diff) | |
| parent | 3bad7129ebb13d7a4c0a7965aeb5bd536cc0f5f0 (diff) | |
| download | rust-c86df3a65cc239fd69b9a8d628808498cdb07e0d.tar.gz rust-c86df3a65cc239fd69b9a8d628808498cdb07e0d.zip | |
auto merge of #7342 : alexcrichton/rust/assort-cleanup, r=cmr
This removes usage of `&const` throughout the standard libraries/compiler, and it removes some extraneous fields in the AST now that unique boxes always inherit their mutability.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/deriving/ty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/deriving/ty.rs b/src/libsyntax/ext/deriving/ty.rs index a2f9aa58d99..e210853bfb4 100644 --- a/src/libsyntax/ext/deriving/ty.rs +++ b/src/libsyntax/ext/deriving/ty.rs @@ -248,7 +248,7 @@ pub fn get_explicit_self(cx: @ExtCtxt, span: span, self_ptr: &Option<PtrTy>) let self_ty = respan( span, match *ptr { - Send => ast::sty_uniq(ast::m_imm), + Send => ast::sty_uniq, Managed(mutbl) => ast::sty_box(mutbl), Borrowed(ref lt, mutbl) => { let lt = lt.map(|s| @cx.lifetime(span, |
