Skip to content

Commit 6c0aa86

Browse files
committed
---
yaml --- r: 130582 b: refs/heads/snap-stage3 c: 395e453 h: refs/heads/master v: v3
1 parent 352c40d commit 6c0aa86

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-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: ee72e46638f2b2ae92e99df2a7ea92690baa0d07
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: d8a26184dc103025e7ad457ffd8deb391019dbfe
4+
refs/heads/snap-stage3: 395e453c06cce045d2e0613a1c6edab2dcfdeceb
55
refs/heads/try: a2473a89da106f7dd3be86e9d52fe23f43d5bfa5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustc/middle/trans/glue.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,17 +111,14 @@ pub fn get_drop_glue_type(ccx: &CrateContext, t: ty::t) -> ty::t {
111111
return ty::mk_i8();
112112
}
113113
match ty::get(t).sty {
114-
ty::ty_box(typ) if !ty::type_needs_drop(tcx, typ) =>
115-
ty::mk_box(tcx, ty::mk_i8()),
116-
117114
ty::ty_uniq(typ) if !ty::type_needs_drop(tcx, typ)
118115
&& ty::type_is_sized(tcx, typ) => {
119116
let llty = sizing_type_of(ccx, typ);
120117
// `Box<ZeroSizeType>` does not allocate.
121118
if llsize_of_alloc(ccx, llty) == 0 {
122119
ty::mk_i8()
123120
} else {
124-
ty::mk_uniq(tcx, ty::mk_i8())
121+
t
125122
}
126123
}
127124
_ => t

branches/snap-stage3/src/librustdoc/html/static/main.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ nav.sub {
177177
color: #333;
178178
}
179179

180-
.location a:first-child { font-weight: bold; }
181-
182180
.block {
183181
padding: 0 10px;
184182
margin-bottom: 14px;

0 commit comments

Comments
 (0)