Module desugar

Module desugar 

Source

ModulesΒ§

lift πŸ”’
β€œLift” HIR types into FHIR types.

StructsΒ§

FluxItemCtxt πŸ”’
OpaqueTypeCollector πŸ”’
RustItemCtxt πŸ”’

TraitsΒ§

DesugarCtxt πŸ”’

FunctionsΒ§

collect_generics_in_params πŸ”’
Collect all sorts resolved to a generic type in a list of refinement parameters. Return the set of generic def_ids used (sorted by their position in the list of generics).
collect_opaque_types πŸ”’
Traverses the hir for an item and collects the def_id of any opaque type (i.e., impl Trait or async) Currently, we only support up to one opaque type and we report an error if there’s more than one.

Type AliasesΒ§

Result πŸ”’