Skip to content

Commit dd13269

Browse files
committed
---
yaml --- r: 124411 b: refs/heads/snap-stage3 c: fe49cbe h: refs/heads/master i: 124409: fee9dbf 124407: fe5ef89 v: v3
1 parent 16645f6 commit dd13269

File tree

2 files changed

+1
-7
lines changed
  • branches/snap-stage3/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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 32cb44bfff3facbded5fd9cc74af3f02e81565a8
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 357d5cd96caea4fbccb989dc4bf5eed71c785c1c
4+
refs/heads/snap-stage3: fe49cbeb82deaa771dcaa4f512cb9f967beb5996
55
refs/heads/try: dff46952ab5c4567d1b5b35bfbd8befc45cdd38e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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)