Module helpers

Module helpers 

Source

Structsยง

CFG
A compact MIR CFG used by the verifier path extractor.
Callsite
A concrete unsafe callsite in one MIR body.
CallsiteLocation
Stable MIR location for a call terminator inside one function body.

Functionsยง

access_ident_recursive
check_safety ๐Ÿ”’
collect_unsafe_callsites
Collect all unsafe MIR callsites in def_id.
find_generic_in_ty ๐Ÿ”’
find_generic_param ๐Ÿ”’
get_cleaned_def_path_name
get_known_std_names ๐Ÿ”’
get_std_api_signature_json ๐Ÿ”’
get_struct_name ๐Ÿ”’
get_struct_self_ty ๐Ÿ”’
get_unsafe_callees
Return the set of unsafe callees invoked by def_id.
match_primitive_type ๐Ÿ”’
match_ty_with_ident
parse_expr_into_local_and_ty
parse_expr_into_number
parse_local_signature
parse_outside_signature ๐Ÿ”’
parse_signature
push_unwind_target ๐Ÿ”’
Append a cleanup unwind target when one exists.
resolve_next_field ๐Ÿ”’
resolve_projection_from_base_ident ๐Ÿ”’
resolve_projection_from_struct_ident ๐Ÿ”’
terminator_successors ๐Ÿ”’
Compute MIR successor blocks for one terminator.