From 0ffbdf2f8adc4d355dee96c4f2b462bc0e7ba255 Mon Sep 17 00:00:00 2001 From: Zachary Bush Date: Thu, 18 Jun 2015 15:29:13 -0700 Subject: [PATCH] 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. --- src/mut_mut.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mut_mut.rs b/src/mut_mut.rs index fc5de44542fb..d2baded73ac7 100644 --- a/src/mut_mut.rs +++ b/src/mut_mut.rs @@ -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,