Skip to content

Commit d699e82

Browse files
committed
---
yaml --- r: 36464 b: refs/heads/try2 c: 16f72df h: refs/heads/master v: v3
1 parent 8291e11 commit d699e82

File tree

6 files changed

+173
-115
lines changed

6 files changed

+173
-115
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: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 42c2c2ab2f4dfa350dd01d33025cd5027a358d33
8+
refs/heads/try2: 16f72df7041602dd286c1c00b2b745d21bf10e9b
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try2/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/try2/src/libstd/std.rc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ mod unicode;
9696
pub mod test;
9797
pub mod serialization;
9898

99+
// A curious inner-module that's not exported that contains the binding
100+
// 'std' so that macro-expanded references to std::serialization and such
101+
// can be resolved within libcore.
102+
#[doc(hidden)] // FIXME #3538
103+
mod std {
104+
pub use serialization;
105+
}
106+
99107
// Local Variables:
100108
// mode: rust;
101109
// fill-column: 78;

0 commit comments

Comments
 (0)