Currently when an unknown serde attribute is encountered a warning is emitted. There is also no-serde-warnings which suppresses the warning, but really what I want to happen is that it fails to compile to tell me about this issue.
There should be a new flag panic-on-unknown-serde (or strict-serde) where it panics when an attribute is unknown. This can save hours of debugging.