From 0a9330c7ef1c4eb99e8143c7a586b1649ede85b8 Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Mon, 19 Oct 2020 00:25:17 +0200 Subject: [PATCH] Ignore panic_fmt lint in macro-comma-behavior-rpass ui test. --- src/test/ui/macros/macro-comma-behavior-rpass.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/ui/macros/macro-comma-behavior-rpass.rs b/src/test/ui/macros/macro-comma-behavior-rpass.rs index 32cf59294e76..e5e656de6fa7 100644 --- a/src/test/ui/macros/macro-comma-behavior-rpass.rs +++ b/src/test/ui/macros/macro-comma-behavior-rpass.rs @@ -57,6 +57,7 @@ fn writeln_1arg() { // // (Example: Issue #48042) #[test] +#[allow(panic_fmt)] fn to_format_or_not_to_format() { // ("{}" is the easiest string to test because if this gets // sent to format_args!, it'll simply fail to compile.