mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
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.
This commit is contained in:
parent
b18a3c5b60
commit
73e097e9f1
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ impl EarlyLintPass for Pass {
|
|||
}
|
||||
}
|
||||
|
||||
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> {
|
||||
let tts = TokenStream::from(tts.clone());
|
||||
let mut parser = parser::Parser::new(
|
||||
&cx.sess.parse_sess,
|
||||
|
|
Loading…
Reference in a new issue