Address comments and fix travis warning
This commit is contained in:
parent
6ae3502134
commit
2829fbc638
5 changed files with 3 additions and 7 deletions
|
@ -7,7 +7,6 @@ version = "0.0.0"
|
||||||
name = "rustc_errors"
|
name = "rustc_errors"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
crate-type = ["dylib"]
|
crate-type = ["dylib"]
|
||||||
test = false
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = { path = "../liblog" }
|
log = { path = "../liblog" }
|
||||||
|
|
|
@ -24,12 +24,11 @@ pub use self::SelfTy::*;
|
||||||
pub use self::FunctionRetTy::*;
|
pub use self::FunctionRetTy::*;
|
||||||
pub use self::Visibility::*;
|
pub use self::Visibility::*;
|
||||||
|
|
||||||
use syntax;
|
|
||||||
use syntax::abi::Abi;
|
use syntax::abi::Abi;
|
||||||
use syntax::ast;
|
use syntax::ast;
|
||||||
use syntax::attr;
|
use syntax::attr;
|
||||||
use syntax::attr::{AttributeMethods, AttrMetaMethods};
|
use syntax::attr::{AttributeMethods, AttrMetaMethods};
|
||||||
use syntax::codemap::{self, Spanned};
|
use syntax::codemap::Spanned;
|
||||||
use syntax::parse::token::{self, InternedString, keywords};
|
use syntax::parse::token::{self, InternedString, keywords};
|
||||||
use syntax::ptr::P;
|
use syntax::ptr::P;
|
||||||
use syntax_pos::{self, DUMMY_SP, Pos};
|
use syntax_pos::{self, DUMMY_SP, Pos};
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
pub use self::StructType::*;
|
pub use self::StructType::*;
|
||||||
pub use self::TypeBound::*;
|
pub use self::TypeBound::*;
|
||||||
|
|
||||||
use syntax;
|
|
||||||
use syntax::abi;
|
use syntax::abi;
|
||||||
use syntax::ast;
|
use syntax::ast;
|
||||||
use syntax::ast::{Name, NodeId};
|
use syntax::ast::{Name, NodeId};
|
||||||
|
|
|
@ -6002,8 +6002,8 @@ impl<'a> Parser<'a> {
|
||||||
// single-variant-enum... :
|
// single-variant-enum... :
|
||||||
let m = Mac_ { path: pth, tts: tts, ctxt: EMPTY_CTXT };
|
let m = Mac_ { path: pth, tts: tts, ctxt: EMPTY_CTXT };
|
||||||
let m: ast::Mac = codemap::Spanned { node: m,
|
let m: ast::Mac = codemap::Spanned { node: m,
|
||||||
span: mk_sp(mac_lo,
|
span: mk_sp(mac_lo,
|
||||||
self.last_span.hi) };
|
self.last_span.hi) };
|
||||||
|
|
||||||
if delim != token::Brace {
|
if delim != token::Brace {
|
||||||
if !self.eat(&token::Semi) {
|
if !self.eat(&token::Semi) {
|
||||||
|
|
|
@ -7,7 +7,6 @@ version = "0.0.0"
|
||||||
name = "syntax_pos"
|
name = "syntax_pos"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
crate-type = ["dylib"]
|
crate-type = ["dylib"]
|
||||||
test = false
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serialize = { path = "../libserialize" }
|
serialize = { path = "../libserialize" }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue