Skip to content

Commit 2829fbc

Browse files
author
Jonathan Turner
committed
Address comments and fix travis warning
1 parent 6ae3502 commit 2829fbc

File tree

5 files changed

+3
-7
lines changed

5 files changed

+3
-7
lines changed

src/librustc_errors/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ version = "0.0.0"
77
name = "rustc_errors"
88
path = "lib.rs"
99
crate-type = ["dylib"]
10-
test = false
1110

1211
[dependencies]
1312
log = { path = "../liblog" }

src/librustdoc/clean/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@ pub use self::SelfTy::*;
2424
pub use self::FunctionRetTy::*;
2525
pub use self::Visibility::*;
2626

27-
use syntax;
2827
use syntax::abi::Abi;
2928
use syntax::ast;
3029
use syntax::attr;
3130
use syntax::attr::{AttributeMethods, AttrMetaMethods};
32-
use syntax::codemap::{self, Spanned};
31+
use syntax::codemap::Spanned;
3332
use syntax::parse::token::{self, InternedString, keywords};
3433
use syntax::ptr::P;
3534
use syntax_pos::{self, DUMMY_SP, Pos};

src/librustdoc/doctree.rs

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
pub use self::StructType::*;
1414
pub use self::TypeBound::*;
1515

16-
use syntax;
1716
use syntax::abi;
1817
use syntax::ast;
1918
use syntax::ast::{Name, NodeId};

src/libsyntax/parse/parser.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6002,8 +6002,8 @@ impl<'a> Parser<'a> {
60026002
// single-variant-enum... :
60036003
let m = Mac_ { path: pth, tts: tts, ctxt: EMPTY_CTXT };
60046004
let m: ast::Mac = codemap::Spanned { node: m,
6005-
span: mk_sp(mac_lo,
6006-
self.last_span.hi) };
6005+
span: mk_sp(mac_lo,
6006+
self.last_span.hi) };
60076007

60086008
if delim != token::Brace {
60096009
if !self.eat(&token::Semi) {

src/libsyntax_pos/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ version = "0.0.0"
77
name = "syntax_pos"
88
path = "lib.rs"
99
crate-type = ["dylib"]
10-
test = false
1110

1211
[dependencies]
1312
serialize = { path = "../libserialize" }

0 commit comments

Comments
 (0)