Skip to main content

Module refining

Module refining 

Source
Expand description

Refining is the process of generating a refined version of a rust type.

Concretely, this module provides functions to go from types in flux_rustc_bridge::ty to types in rty.

Structsยง

Refiner
WeakKVarInserter ๐Ÿ”’

Traitsยง

Refine

Functionsยง

default_static_ty
The type of a static without a flux spec: the default refinement of its rust type. Reads of such a static use this type too, so e.g. the field specs of a struct are assumed when reading from the static, and thus must be checked in its initializer.
is_weak_kvar_sort ๐Ÿ”’
NOTE(CK):
make_vars_and_sorts_from_bound_vars ๐Ÿ”’
make_weak_kvar ๐Ÿ”’
refine_bound_variables
refine_default ๐Ÿ”’
refine_generic_param_def ๐Ÿ”’
refine_generic_param_def_kind ๐Ÿ”’
refine_generics
shift_in_vars ๐Ÿ”’
shift_out_vars ๐Ÿ”’