From 35e5cf3e157e7f98bdd3b4d07edfc5c810743c42 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 2 Feb 2023 11:04:18 -0800 Subject: [PATCH] Revert uninlined_format_args change in test I no longer believe in clippy's pedantic recommendation on this. --- test_suite/tests/test_annotations.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test_suite/tests/test_annotations.rs b/test_suite/tests/test_annotations.rs index d8e18e9fd..f32c22c1a 100644 --- a/test_suite/tests/test_annotations.rs +++ b/test_suite/tests/test_annotations.rs @@ -6,7 +6,8 @@ clippy::nonstandard_macro_braces, clippy::too_many_lines, clippy::trivially_copy_pass_by_ref, - clippy::type_repetition_in_bounds + clippy::type_repetition_in_bounds, + clippy::uninlined_format_args, )] use serde::de::{self, MapAccess, Unexpected, Visitor}; @@ -1235,7 +1236,7 @@ fn serialize_variant_as_string(f1: &str, f2: &u8, serializer: S) -> Result(deserializer: D) -> Result<(String, u8), D::Error>