From 99454bc9a1d5d2325301286ff16b6fb032373447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Thu, 27 Dec 2018 11:19:20 +0100 Subject: [PATCH] rustup https://github.com/rust-lang/rust/pull/57069 --- clippy_lints/src/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/write.rs b/clippy_lints/src/write.rs index 20970632975c..d226c6559c31 100644 --- a/clippy_lints/src/write.rs +++ b/clippy_lints/src/write.rs @@ -292,7 +292,7 @@ fn check_tts<'a>(cx: &EarlyContext<'a>, tts: &ThinTokenStream, is_write: bool) - }; let tmp = fmtstr.clone(); let mut args = vec![]; - let mut fmt_parser = Parser::new(&tmp, None); + let mut fmt_parser = Parser::new(&tmp, None, Vec::new(), false); while let Some(piece) = fmt_parser.next() { if !fmt_parser.errors.is_empty() { return (None, expr);