Skip to content

Commit a4b08fc

Browse files
authored
Merge pull request #3011 from scottmcm/fix-for-impl_header_lifetime_elision
Fix the build after rust PR 53016
2 parents b18a3c5 + 73e097e commit a4b08fc

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)