From 73e097e9f123cae64b276290985f65f21c766217 Mon Sep 17 00:00:00 2001 From: Scott McMurray Date: Tue, 7 Aug 2018 00:05:09 -0700 Subject: [PATCH] Fix the build after https://github.com/rust-lang/rust/pull/53016 In-band lifetimes are no longer in the edition, so update the one place that was using them. --- clippy_lints/src/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/write.rs b/clippy_lints/src/write.rs index 0b52981bf..d8bbf0098 100644 --- a/clippy_lints/src/write.rs +++ b/clippy_lints/src/write.rs @@ -217,7 +217,7 @@ impl EarlyLintPass for Pass { } } -fn check_tts(cx: &EarlyContext<'a>, tts: &ThinTokenStream, is_write: bool) -> Option { +fn check_tts<'a>(cx: &EarlyContext<'a>, tts: &ThinTokenStream, is_write: bool) -> Option { let tts = TokenStream::from(tts.clone()); let mut parser = parser::Parser::new( &cx.sess.parse_sess,