Skip to content

Commit a6498f7

Browse files
committed
---
yaml --- r: 40542 b: refs/heads/dist-snap c: cd6300e h: refs/heads/master v: v3
1 parent db74af9 commit a6498f7

File tree

4 files changed

+178
-196
lines changed

4 files changed

+178
-196
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
99
refs/heads/incoming: e90142e536c150df0d9b4b2f11352152177509b5
10-
refs/heads/dist-snap: a18f0d413c1acea7c94e7e89740f47716f8efc51
10+
refs/heads/dist-snap: cd6300e938f24f9ae830cd984b83112af0b2ccdc
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/librustc/middle/trans/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,7 @@ fn trans_fn(ccx: @crate_ctxt,
16431643
impl_id: Option<ast::def_id>) {
16441644
let do_time = ccx.sess.trans_stats();
16451645
let start = if do_time { time::get_time() }
1646-
else { {sec: 0i64, nsec: 0i32} };
1646+
else { time::Timespec::new(0, 0) };
16471647
debug!("trans_fn(ty_self=%?)", ty_self);
16481648
let _icx = ccx.insn_ctxt("trans_fn");
16491649
ccx.stats.n_fns += 1;

branches/dist-snap/src/libstd/std.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// A curious inner-module that's not exported that contains the binding
2+
// 'std' so that macro-expanded references to std::serialization and such
3+
// can be resolved within libcore.
4+
#[doc(hidden)] // FIXME #3538
5+
mod std {
6+
pub use serialization;
7+
}

0 commit comments

Comments
 (0)