Skip to content

Commit

Permalink
Rollup merge of #5326 - matthiaskrgr:rustup_33, r=flip1995
Browse files Browse the repository at this point in the history
rustup rust-lang/rust#69838

changelog: none
  • Loading branch information
flip1995 authored Mar 19, 2020
2 parents c036c4f + b8effec commit 0277066
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 @@ -357,7 +357,7 @@ impl Write {
};
let tts = tts.clone();

let mut parser = parser::Parser::new(&cx.sess.parse_sess, tts, None, false, false, None);
let mut parser = parser::Parser::new(&cx.sess.parse_sess, tts, 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 0277066

Please sign in to comment.