Module struct_compat

Source
Expand description

Check whether two refinemnt types/signatures are structurally compatible.

Used to check if a user spec is compatible with the underlying rust type. The code also infer types annotated with _ in the surface syntax.

Modulesยง

errors ๐Ÿ”’

Structsยง

Holes ๐Ÿ”’
Mismatch ๐Ÿ”’
Zipper ๐Ÿ”’

Enumsยง

FnSigErr ๐Ÿ”’

Functionsยง

assert_eq_or_incompatible ๐Ÿ”’
fn_sig ๐Ÿ”’
type_alias ๐Ÿ”’
variants ๐Ÿ”’