Expand description
stmt::patch may step through embedded structs and may replace an
embedded enum as a whole, but it may not enter an enum variant. These
tests pin that boundary: a path into a variant rejects the whole update
with unsupported_feature before any write, while the supported forms
on the same model keep working.
Functionsยง
- patch_
beside_ variant_ boundary - The supported forms on the same model: patching a struct field beside the enum, and replacing an enum nested in the struct as a whole.
- reject_
increment_ through_ variant - reject_
patch_ through_ nested_ variants - reject_
set_ through_ variant