Skip to main content

Module checker

Module checker 

Source

ModulesΒ§

errors πŸ”’

StructsΒ§

Checker πŸ”’
Inherited πŸ”’
Fields shared by the top-level function and its nested closure/generators
RefineMode πŸ”’
ResolvedCall πŸ”’
ShapeMode πŸ”’
ShapeResult πŸ”’
The result of running the shape phase.

EnumsΒ§

Guard πŸ”’
A Guard describes extra β€œcontrol” information that holds at the start of a successor basic block

TraitsΒ§

Mode πŸ”’

FunctionsΒ§

all_predicates_of πŸ”’
bool_int_cast πŸ”’
bool_uint_cast πŸ”’
char_uint_cast πŸ”’
collect_params_in_clauses πŸ”’
find_trait_item πŸ”’
fold_local_ptrs πŸ”’
Fold local pointers implements roughly a rule like the following (for all local pointers) that converts the local pointers created via [unfold_local_ptrs] back into &mut.
guarded_uint_ty πŸ”’
instantiate_args_for_constructor πŸ”’
instantiate_args_for_fun_call πŸ”’
int_bit_width πŸ”’
int_int_cast πŸ”’
int_uint_cast πŸ”’
marker_at_dominator πŸ”’
promoted_fn_sig πŸ”’
raw_ptr_with_size πŸ”’
Converts a reference into a raw-ptr, tracking size etc.
trait_impl_subtyping πŸ”’
Trait subtyping check, which makes sure that the type for an impl method (def_id) is a subtype of the corresponding trait method.
uint_bit_width πŸ”’
uint_char_cast πŸ”’
Unlike char_uint_cast rust only allows u8 to char casts, which are non-lossy, so we can use indexed type directly.
uint_int_cast πŸ”’
uint_uint_cast πŸ”’

Type AliasesΒ§

Result πŸ”’