Coverage not detected when deserializing with custom derserializers (serde-json) #427
Labels
C-upstream-bug
Category: This is a bug of compiler or dependencies (the fix may require action in the upstream)
Not really sure if this is an issue with this tool or with serde.
But I have noticed that frequently when I look at my coverage deserializers are not covered.
And at least when I have a custom deserializer this seems reproducible:
The following code seemingly test deserialization but coverage will report it as uncovered:
If I remove the custom deserializer coverage works as expected.
I don't really understand why it behaves like this and if this is expected behaviour or if this is an issue with serde or serde-json or my serializer please feel free to close this issue.
Cargo file for reference:
The text was updated successfully, but these errors were encountered: