Skip to content

Commit

Permalink
Rustup to rust-lang#61026
Browse files Browse the repository at this point in the history
  • Loading branch information
phansch committed May 25, 2019
1 parent d519ed4 commit a650659
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 a650659

Please sign in to comment.