In-band lifetimes are no longer in the edition, so update the one place that was using them.
This commit is contained in:
Scott McMurray 2018-08-07 00:05:09 -07:00
parent b18a3c5b60
commit 73e097e9f1

View file

@ -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,