Skip to content

Commit

Permalink
Fix build with rustc 1.2.0-nightly (20d23d8 2015-06-18)
Browse files Browse the repository at this point in the history
In rust-lang/rust#26347, MacroFormat was
renamed to ExpnFormat.
  • Loading branch information
zmbush committed Jun 18, 2015
1 parent 2fb55de commit 2564c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mut_mut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, ExpnFormat, Span};
use utils::in_macro;

declare_lint!(pub MUT_MUT, Warn,
Expand Down

0 comments on commit 2564c74

Please sign in to comment.