Skip to content

Commit 0ffbdf2

Browse files
committed
Fix build with rustc 1.2.0-nightly (20d23d8 2015-06-18)
In rust-lang/rust#26347, MacroFormat was renamed to ExpnFormat. MacroFormat wasn't being used in src/mut_mut.rs, so I removed it.
1 parent 2fb55de commit 0ffbdf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mut_mut.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use syntax::ptr::P;
22
use syntax::ast::*;
33
use rustc::lint::{Context, LintPass, LintArray, Lint};
44
use rustc::middle::ty::{expr_ty, TypeVariants, mt, TyRef};
5-
use syntax::codemap::{BytePos, ExpnInfo, MacroFormat, Span};
5+
use syntax::codemap::{BytePos, ExpnInfo, Span};
66
use utils::in_macro;
77

88
declare_lint!(pub MUT_MUT, Warn,

0 commit comments

Comments
 (0)