Skip to content

Commit 73e097e

Browse files
committed
Fix the build after rust-lang/rust#53016
In-band lifetimes are no longer in the edition, so update the one place that was using them.
1 parent b18a3c5 commit 73e097e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ impl EarlyLintPass for Pass {
217217
}
218218
}
219219

220-
fn check_tts(cx: &EarlyContext<'a>, tts: &ThinTokenStream, is_write: bool) -> Option<String> {
220+
fn check_tts<'a>(cx: &EarlyContext<'a>, tts: &ThinTokenStream, is_write: bool) -> Option<String> {
221221
let tts = TokenStream::from(tts.clone());
222222
let mut parser = parser::Parser::new(
223223
&cx.sess.parse_sess,

0 commit comments

Comments
 (0)