about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJonathan Turner <jturner@mozilla.com>2016-06-21 19:57:03 -0400
committerJonathan Turner <jturner@mozilla.com>2016-06-23 08:07:35 -0400
commit2829fbc63814d02359e3d93d16f7ea7ef748162e (patch)
tree9071c185880e122eab5976c1e543c43a751603ce /src
parent6ae350213485f7c917113f3916e58c51cef97a76 (diff)
downloadrust-2829fbc63814d02359e3d93d16f7ea7ef748162e.tar.gz
rust-2829fbc63814d02359e3d93d16f7ea7ef748162e.zip
Address comments and fix travis warning
Diffstat (limited to 'src')
-rw-r--r--src/librustc_errors/Cargo.toml1
-rw-r--r--src/librustdoc/clean/mod.rs3
-rw-r--r--src/librustdoc/doctree.rs1
-rw-r--r--src/libsyntax/parse/parser.rs4
-rw-r--r--src/libsyntax_pos/Cargo.toml1
5 files changed, 3 insertions, 7 deletions
diff --git a/src/librustc_errors/Cargo.toml b/src/librustc_errors/Cargo.toml
index 8efbc393f2f..128c270eb35 100644
--- a/src/librustc_errors/Cargo.toml
+++ b/src/librustc_errors/Cargo.toml
@@ -7,7 +7,6 @@ version = "0.0.0"
 name = "rustc_errors"
 path = "lib.rs"
 crate-type = ["dylib"]
-test = false
 
 [dependencies]
 log = { path = "../liblog" }
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs
index e26547abd0e..65902205312 100644
--- a/src/librustdoc/clean/mod.rs
+++ b/src/librustdoc/clean/mod.rs
@@ -24,12 +24,11 @@ pub use self::SelfTy::*;
 pub use self::FunctionRetTy::*;
 pub use self::Visibility::*;
 
-use syntax;
 use syntax::abi::Abi;
 use syntax::ast;
 use syntax::attr;
 use syntax::attr::{AttributeMethods, AttrMetaMethods};
-use syntax::codemap::{self, Spanned};
+use syntax::codemap::Spanned;
 use syntax::parse::token::{self, InternedString, keywords};
 use syntax::ptr::P;
 use syntax_pos::{self, DUMMY_SP, Pos};
diff --git a/src/librustdoc/doctree.rs b/src/librustdoc/doctree.rs
index acc9f86d648..04d176c36c8 100644
--- a/src/librustdoc/doctree.rs
+++ b/src/librustdoc/doctree.rs
@@ -13,7 +13,6 @@
 pub use self::StructType::*;
 pub use self::TypeBound::*;
 
-use syntax;
 use syntax::abi;
 use syntax::ast;
 use syntax::ast::{Name, NodeId};
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 5c29c6108e9..a8597c99a56 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -6002,8 +6002,8 @@ impl<'a> Parser<'a> {
             // single-variant-enum... :
             let m = Mac_ { path: pth, tts: tts, ctxt: EMPTY_CTXT };
             let m: ast::Mac = codemap::Spanned { node: m,
-                                                    span: mk_sp(mac_lo,
-                                                                self.last_span.hi) };
+                                                 span: mk_sp(mac_lo,
+                                                             self.last_span.hi) };
 
             if delim != token::Brace {
                 if !self.eat(&token::Semi) {
diff --git a/src/libsyntax_pos/Cargo.toml b/src/libsyntax_pos/Cargo.toml
index 06adb5dc765..760aaa8a957 100644
--- a/src/libsyntax_pos/Cargo.toml
+++ b/src/libsyntax_pos/Cargo.toml
@@ -7,7 +7,6 @@ version = "0.0.0"
 name = "syntax_pos"
 path = "lib.rs"
 crate-type = ["dylib"]
-test = false
 
 [dependencies]
 serialize = { path = "../libserialize" }