Skip to content

Commit

Permalink
Make compile error message point to field type instead of call site f…
Browse files Browse the repository at this point in the history
…or not implemented Serialize trait
  • Loading branch information
Veetaha committed Oct 19, 2024
1 parent febacff commit 3d34d69
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test_suite/tests/ui/on-unimplemented/fn_param.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use serde::de::Deserialize;
use serde::ser::Serialize;


fn to_string<T>(_: &T) -> String
where
T: Serialize,
Expand Down

0 comments on commit 3d34d69

Please sign in to comment.