We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b18a3c5 + 73e097e commit a4b08fcCopy full SHA for a4b08fc
clippy_lints/src/write.rs
@@ -217,7 +217,7 @@ impl EarlyLintPass for Pass {
217
}
218
219
220
-fn check_tts(cx: &EarlyContext<'a>, tts: &ThinTokenStream, is_write: bool) -> Option<String> {
+fn check_tts<'a>(cx: &EarlyContext<'a>, tts: &ThinTokenStream, is_write: bool) -> Option<String> {
221
let tts = TokenStream::from(tts.clone());
222
let mut parser = parser::Parser::new(
223
&cx.sess.parse_sess,
0 commit comments