Skip to content

Commit 25315d6

Browse files
committed
---
yaml --- r: 50670 b: refs/heads/try c: 3cee676 h: refs/heads/master v: v3
1 parent 5f6a0d1 commit 25315d6

File tree

9 files changed

+5
-16
lines changed

9 files changed

+5
-16
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
5-
refs/heads/try: e4f5866c10cd5b45a4f95590f0f2fe0aff54c12e
5+
refs/heads/try: 3cee6763d1acc14b8e46117766730ca3a07dbf6b
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/etc/tidy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from licenseck import *
66

77
err=0
8-
cols=78
8+
cols=100
99

1010
# Be careful to support Python 2.4, 2.6, and 3.x here!
1111
config_proc=subprocess.Popen([ "git", "config", "core.autocrlf" ],

branches/try/src/libcore/at_vec.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use cast::transmute;
1414
use kinds::Copy;
1515
use iter;
16-
use libc;
1716
use option::Option;
1817
use ptr::addr_of;
1918
use sys;

branches/try/src/libcore/core.rc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ Implicitly, all crates behave as if they included the following prologue:
5656

5757
// On Linux, link to the runtime with -lrt.
5858
#[cfg(target_os = "linux")]
59-
#[doc(hidden)]
6059
pub mod linkhack {
6160
#[link_args="-lrustrt -lrt"]
6261
#[link_args = "-lpthread"]
@@ -253,7 +252,7 @@ pub mod rt;
253252
// A curious inner-module that's not exported that contains the binding
254253
// 'core' so that macro-expanded references to core::error and such
255254
// can be resolved within libcore.
256-
#[doc(hidden)]
255+
#[doc(hidden)] // FIXME #3538
257256
pub mod core {
258257
#[cfg(stage0)]
259258
pub const error : u32 = 1_u32;

branches/try/src/libcore/num/cmath.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010

1111
#[doc(hidden)]; // FIXME #3538
1212

13-
use libc::c_int;
14-
use libc::c_float;
15-
use libc::c_double;
16-
1713
// function names are almost identical to C's libmath, a few have been
1814
// renamed, grep for "rename:"
1915

branches/try/src/libcore/vec.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ use iter::BaseIter;
1919
use iter;
2020
use kinds::Copy;
2121
use libc;
22-
use libc::size_t;
2322
use option::{None, Option, Some};
2423
use unstable::intrinsics;
2524
use ptr;
@@ -76,9 +75,9 @@ pub fn reserve<T>(v: &mut ~[T], n: uint) {
7675
let td = sys::get_type_desc::<T>();
7776
if ((**ptr).box_header.ref_count ==
7877
managed::raw::RC_MANAGED_UNIQUE) {
79-
rustrt::vec_reserve_shared_actual(td, ptr, n as size_t);
78+
rustrt::vec_reserve_shared_actual(td, ptr, n as libc::size_t);
8079
} else {
81-
rustrt::vec_reserve_shared(td, ptr, n as size_t);
80+
rustrt::vec_reserve_shared(td, ptr, n as libc::size_t);
8281
}
8382
}
8483
}
@@ -2071,7 +2070,6 @@ pub mod raw {
20712070
use kinds::Copy;
20722071
use managed;
20732072
use option::{None, Some};
2074-
use option;
20752073
use unstable::intrinsics;
20762074
use ptr::addr_of;
20772075
use ptr;

branches/try/src/librustc/middle/trans/controlflow.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ use syntax::ast::ident;
3030
use syntax::ast_map::path_mod;
3131
use syntax::ast_util;
3232
use syntax::codemap::span;
33-
use syntax::print::pprust::expr_to_str;
3433

3534
pub fn trans_block(bcx: block, b: &ast::blk, dest: expr::Dest) -> block {
3635
let _icx = bcx.insn_ctxt("trans_block");

branches/try/src/librustc/middle/typeck/check/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1706,7 +1706,6 @@ pub fn check_expr_with_unifier(fcx: @mut FnCtxt,
17061706
let expr_t = structurally_resolved_type(fcx, expr.span,
17071707
fcx.expr_ty(base));
17081708
let (base_t, derefs) = do_autoderef(fcx, expr.span, expr_t);
1709-
let n_tys = tys.len();
17101709

17111710
match structure_of(fcx, expr.span, base_t) {
17121711
ty::ty_struct(base_id, ref substs) => {

branches/try/src/libstd/test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ use core::either::Either;
2626
use core::either;
2727
use core::io::WriterUtil;
2828
use core::io;
29-
use core::libc::size_t;
3029
use core::comm::{stream, Chan, Port, SharedChan};
3130
use core::option;
3231
use core::prelude::*;

0 commit comments

Comments
 (0)