From 3d34d69ac1a329ab9de2eab3c98d53fb2691fe3d Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sat, 19 Oct 2024 19:11:35 +0000 Subject: [PATCH] Make compile error message point to field type instead of call site for not implemented Serialize trait --- test_suite/tests/ui/on-unimplemented/fn_param.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/test_suite/tests/ui/on-unimplemented/fn_param.rs b/test_suite/tests/ui/on-unimplemented/fn_param.rs index a8f1ca9e5..fab56751b 100644 --- a/test_suite/tests/ui/on-unimplemented/fn_param.rs +++ b/test_suite/tests/ui/on-unimplemented/fn_param.rs @@ -1,7 +1,6 @@ use serde::de::Deserialize; use serde::ser::Serialize; - fn to_string(_: &T) -> String where T: Serialize,