Skip to content

Commit 70d89a2

Browse files
committed
---
yaml --- r: 60527 b: refs/heads/auto c: ab46a38 h: refs/heads/master i: 60525: dd6f2f0 60523: 3ca6502 60519: 75b5f7d 60511: ad919c8 v: v3
1 parent 8d90a85 commit 70d89a2

File tree

14 files changed

+8
-19
lines changed

14 files changed

+8
-19
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: ea0640764a5d9bc01d821c74bef039b6051d5169
17+
refs/heads/auto: ab46a38039c320bd2011160fdd8a86828172d29e
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/src/libcore/rt/uv/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ pub fn uv_error_to_io_error(uverr: UvError) -> IoError {
270270
ECONNREFUSED => ConnectionRefused,
271271
ECONNRESET => ConnectionReset,
272272
EPIPE => BrokenPipe,
273-
e => {
274-
rtdebug!("e %u", e as uint);
273+
_ => {
274+
rtdebug!("uverr.code %u", uverr.code as uint);
275275
// XXX: Need to map remaining uv error types
276276
OtherIoError
277277
}

branches/auto/src/librustc/middle/borrowck/gather_loans/lifetime.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//! This module implements the check that the lifetime of a borrow
1212
//! does not exceed the lifetime of the value being borrowed.
1313
14-
use core::prelude::*;
1514
use middle::borrowck::*;
1615
use mc = middle::mem_categorization;
1716
use middle::ty;

branches/auto/src/librustc/middle/borrowck/gather_loans/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
// their associated scopes. In phase two, checking loans, we will then make
1717
// sure that all of these loans are honored.
1818

19-
use core::prelude::*;
20-
2119
use middle::borrowck::*;
2220
use mc = middle::mem_categorization;
2321
use middle::pat_util;

branches/auto/src/librustc/middle/borrowck/gather_loans/restrictions.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
//! Computes the restrictions that result from a borrow.
1212
13-
use core::prelude::*;
1413
use middle::borrowck::*;
1514
use mc = middle::mem_categorization;
1615
use middle::ty;

branches/auto/src/librustc/middle/borrowck/mod.rs

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

1111
/*! See doc.rs for a thorough explanation of the borrow checker */
1212

13-
use core::prelude::*;
14-
1513
use mc = middle::mem_categorization;
1614
use middle::ty;
1715
use middle::typeck;

branches/auto/src/librustc/middle/dataflow.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* GEN and KILL bits for each expression.
1717
*/
1818

19-
use core::prelude::*;
2019
use core::cast;
2120
use core::uint;
2221
use syntax::ast;

branches/auto/src/librustc/middle/trans/consts.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ use util::ppaux::{Repr, ty_to_str};
3030

3131
use core::libc::c_uint;
3232
use syntax::{ast, ast_util, ast_map};
33-
use util::ppaux::ty_to_str;
3433

3534
pub fn const_lit(cx: @CrateContext, e: @ast::expr, lit: ast::lit)
3635
-> ValueRef {

branches/auto/src/librustc/middle/trans/expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ use middle::trans::type_of;
145145
use middle::ty::struct_fields;
146146
use middle::ty::{AutoDerefRef, AutoAddEnv};
147147
use middle::ty::{AutoPtr, AutoBorrowVec, AutoBorrowVecRef, AutoBorrowFn,
148-
AutoDerefRef, AutoAddEnv, AutoUnsafe};
148+
AutoUnsafe};
149149
use middle::ty;
150150
use util::common::indenter;
151151
use util::ppaux::Repr;

branches/auto/src/librustc/middle/typeck/infer/combine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ use middle::typeck::infer::glb::Glb;
6262
use middle::typeck::infer::lub::Lub;
6363
use middle::typeck::infer::sub::Sub;
6464
use middle::typeck::infer::to_str::InferStr;
65-
use middle::typeck::infer::{cres, InferCtxt, ures, IntType, UintType};
65+
use middle::typeck::infer::{cres, InferCtxt, ures};
6666
use util::common::indent;
6767

6868
use core::result::{iter_vec2, map_vec2};

branches/auto/src/librustc/middle/typeck/infer/lattice.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ use middle::typeck::infer::glb::Glb;
4141
use middle::typeck::infer::lub::Lub;
4242
use middle::typeck::infer::unify::*;
4343
use middle::typeck::infer::sub::Sub;
44-
use middle::typeck::infer::lub::Lub;
45-
use middle::typeck::infer::glb::Glb;
4644
use middle::typeck::infer::to_str::InferStr;
4745
use util::common::indenter;
4846

branches/auto/src/librustpkg/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use rustc::driver::{driver, session};
1616
use rustc::metadata::filesearch;
1717
use std::getopts::groups::getopts;
1818
use std::semver;
19-
use std::{term, getopts};
19+
use std::term;
2020
use syntax::ast_util::*;
2121
use syntax::codemap::{dummy_sp, spanned, dummy_spanned};
2222
use syntax::ext::base::{mk_ctxt, ext_ctxt};

branches/auto/src/libsyntax/opt_vec.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* other useful things like `push()` and `len()`.
1717
*/
1818

19-
use core::prelude::*;
2019
use core::old_iter;
2120
use core::old_iter::BaseIter;
2221

branches/auto/src/libsyntax/parse/parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ use ast::{expr_ret, expr_self, expr_struct, expr_tup, expr_unary};
3030
use ast::{expr_vec, expr_vstore, expr_vstore_mut_box};
3131
use ast::{expr_vstore_slice, expr_vstore_box};
3232
use ast::{expr_vstore_mut_slice, expr_while, extern_fn, field, fn_decl};
33-
use ast::{expr_vstore_uniq, TyClosure, TyBareFn, Onceness, Once, Many};
33+
use ast::{expr_vstore_uniq, Onceness, Once, Many};
3434
use ast::{foreign_item, foreign_item_const, foreign_item_fn, foreign_mod};
3535
use ast::{ident, impure_fn, inherited, item, item_, item_const};
36-
use ast::{item_const, item_enum, item_fn, item_foreign_mod, item_impl};
36+
use ast::{item_enum, item_fn, item_foreign_mod, item_impl};
3737
use ast::{item_mac, item_mod, item_struct, item_trait, item_ty, lit, lit_};
3838
use ast::{lit_bool, lit_float, lit_float_unsuffixed, lit_int};
3939
use ast::{lit_int_unsuffixed, lit_nil, lit_str, lit_uint, local, m_const};

0 commit comments

Comments
 (0)