Merge pull request #3011 from scottmcm/fix-for-impl_header_lifetime_elision
Fix the build after rust PR 53016
This commit is contained in:
commit
a4b08fcda0
@ -217,7 +217,7 @@ fn check_mac(&mut self, cx: &EarlyContext<'_>, mac: &Mac) {
|
||||
}
|
||||
}
|
||||
|
||||
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 New Issue
Block a user