Skip to content

Commit 008e7c9

Browse files
committed
---
yaml --- r: 124654 b: refs/heads/try c: fe49cbe h: refs/heads/master v: v3
1 parent 8c43432 commit 008e7c9

File tree

2 files changed

+1
-7
lines changed
  • branches/try/src/libsyntax/ext/deriving/generic

2 files changed

+1
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: f15d6d28396e8700b6c3f2704204a2769e710403
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 9fc8394d3bce22ab483f98842434c84c396212ae
5-
refs/heads/try: 357d5cd96caea4fbccb989dc4bf5eed71c785c1c
5+
refs/heads/try: fe49cbeb82deaa771dcaa4f512cb9f967beb5996
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libsyntax/ext/deriving/generic/ty.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ use std::gc::Gc;
2525

2626
/// The types of pointers
2727
pub enum PtrTy<'a> {
28-
/// ~
29-
Send,
3028
/// &'lifetime mut
3129
Borrowed(Option<&'a str>, ast::Mutability),
3230
}
@@ -138,9 +136,6 @@ impl<'a> Ty<'a> {
138136
Ptr(ref ty, ref ptr) => {
139137
let raw_ty = ty.to_ty(cx, span, self_ty, self_generics);
140138
match *ptr {
141-
Send => {
142-
cx.ty_uniq(span, raw_ty)
143-
}
144139
Borrowed(ref lt, mutbl) => {
145140
let lt = mk_lifetime(cx, span, lt);
146141
cx.ty_rptr(span, raw_ty, lt, mutbl)
@@ -260,7 +255,6 @@ pub fn get_explicit_self(cx: &ExtCtxt, span: Span, self_ptr: &Option<PtrTy>)
260255
let self_ty = respan(
261256
span,
262257
match *ptr {
263-
Send => ast::SelfUniq(special_idents::self_),
264258
Borrowed(ref lt, mutbl) => {
265259
let lt = lt.map(|s| cx.lifetime(span, cx.ident_of(s).name));
266260
ast::SelfRegion(lt, mutbl, special_idents::self_)

0 commit comments

Comments
 (0)