Rollup merge of #5326 - matthiaskrgr:rustup_33, r=flip1995

rustup https://github.com/rust-lang/rust/pull/69838

changelog: none
This commit is contained in:
Philipp Krones 2020-03-19 15:00:29 +01:00 committed by GitHub
commit 027706630b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()) {