mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Auto merge of #4141 - phansch:rustup5, r=oli-obk
Rustup to https://github.com/rust-lang/rust/pull/61026 None
This commit is contained in:
commit
577ee79668
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ fn check_tts<'a>(cx: &EarlyContext<'a>, tts: &TokenStream, is_write: bool) -> (O
|
|||
}
|
||||
}
|
||||
}
|
||||
let mut parser = parser::Parser::new(&cx.sess.parse_sess, tts, None, false, false);
|
||||
let mut parser = parser::Parser::new(&cx.sess.parse_sess, tts, None, false, false, None);
|
||||
let mut expr: Option<Expr> = None;
|
||||
if is_write {
|
||||
expr = match parser.parse_expr().map_err(|mut err| err.cancel()) {
|
||||
|
|
Loading…
Reference in a new issue