Skip to content

Commit

Permalink
Auto merge of #4141 - phansch:rustup5, r=oli-obk
Browse files Browse the repository at this point in the history
Rustup to rust-lang/rust#61026

None
  • Loading branch information
bors committed May 25, 2019
2 parents d519ed4 + a650659 commit 577ee79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 577ee79

Please sign in to comment.