Fix build with rustc 1.2.0-nightly (20d23d8e5
2015-06-18)
In https://github.com/rust-lang/rust/pull/26347, MacroFormat was renamed to ExpnFormat. MacroFormat wasn't being used in src/mut_mut.rs, so I removed it.
This commit is contained in:
parent
2fb55deb8e
commit
0ffbdf2f8a
@ -2,7 +2,7 @@ use syntax::ptr::P;
|
||||
use syntax::ast::*;
|
||||
use rustc::lint::{Context, LintPass, LintArray, Lint};
|
||||
use rustc::middle::ty::{expr_ty, TypeVariants, mt, TyRef};
|
||||
use syntax::codemap::{BytePos, ExpnInfo, MacroFormat, Span};
|
||||
use syntax::codemap::{BytePos, ExpnInfo, Span};
|
||||
use utils::in_macro;
|
||||
|
||||
declare_lint!(pub MUT_MUT, Warn,
|
||||
|
Loading…
Reference in New Issue
Block a user