pub fn lower_event_field_default_wire(
init: &Expr,
expected: &TypeRef,
types: &HashMap<String, Arc<TypeDecl>>,
) -> Result<(), DefaultReason>Expand description
lower_field_default_wire for an event field or an old-state field, whose
default may not apply a user generic anywhere in it (#2690 widened record
fields only; the event codec and the migration read the default with no
diagnostic path of their own).