dillon1000/react
Commit
Browse files [rust] deny unused fields on non-node structs
Rejects unknown fields during deserialization of helper structs (which don't have a `type` field). This would be super useful for AST `Node` types, too, but that requires implementing a custom deserializer so i'm punting on that for now.
Changed paths2 files
First-parent comparisoncompiler/forget/crates/forget_estree/src/generated.rs ModifiedM compiler/forget/crates/forget_estree_codegen/src/codegen.rs ModifiedPatch
Files changed
Rendering syntax-highlighted changes…