Skip to content

Commit 6dfcbe0

Browse files
committed
---
yaml --- r: 154878 b: refs/heads/try2 c: 395e453 h: refs/heads/master v: v3
1 parent b616d84 commit 6dfcbe0

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: d8a26184dc103025e7ad457ffd8deb391019dbfe
8+
refs/heads/try2: 395e453c06cce045d2e0613a1c6edab2dcfdeceb
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/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/try2/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)