]> git.lizzy.rs Git - rust.git/commitdiff
Address comments and fix travis warning
authorJonathan Turner <jturner@mozilla.com>
Tue, 21 Jun 2016 23:57:03 +0000 (19:57 -0400)
committerJonathan Turner <jturner@mozilla.com>
Thu, 23 Jun 2016 12:07:35 +0000 (08:07 -0400)
src/librustc_errors/Cargo.toml
src/librustdoc/clean/mod.rs
src/librustdoc/doctree.rs
src/libsyntax/parse/parser.rs
src/libsyntax_pos/Cargo.toml

index 8efbc393f2f95cd6ea16cfd704d911555202559d..128c270eb359cb6378325bc2b95944cfbb5d48d5 100644 (file)
@@ -7,7 +7,6 @@ version = "0.0.0"
 name = "rustc_errors"
 path = "lib.rs"
 crate-type = ["dylib"]
-test = false
 
 [dependencies]
 log = { path = "../liblog" }
index e26547abd0eaed0ba98646294541b5b78232c64f..659022053128ecb48f9cea7ddbadb51c6ced8663 100644 (file)
 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};
index acc9f86d64825347ba376dcd27b6398c6f55f2cc..04d176c36c8cf3c7c0eb7d17ae5261803b5658cb 100644 (file)
@@ -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};
index 5c29c6108e9229c36d75e40c5a0ce006e4714e13..a8597c99a569c1dd3446229939bcf8013753b64d 100644 (file)
@@ -6002,8 +6002,8 @@ fn parse_macro_use_or_failure(
             // 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) {
index 06adb5dc765e759c4bc8c9cfd2aa0ab9dbab964b..760aaa8a9578419b809032fc86a1e3f6396cfb4c 100644 (file)
@@ -7,7 +7,6 @@ version = "0.0.0"
 name = "syntax_pos"
 path = "lib.rs"
 crate-type = ["dylib"]
-test = false
 
 [dependencies]
 serialize = { path = "../libserialize" }