Skip to main content

Module lower

Module lower 

Source
Expand description

This module generates a polymorphic MIR from a hir body

Modulesยง

as_place ๐Ÿ”’
MIR lowering for places
pattern_matching ๐Ÿ”’
MIR lowering for patterns

Macrosยง

implementation_error ๐Ÿ”’
not_supported ๐Ÿ”’

Structsยง

DropScope ๐Ÿ”’
DropScopeToken ๐Ÿ”’
A token to ensuring that each drop scope is popped at most once, thanks to the compiler that checks moves.
LoopBlocks ๐Ÿ”’
MirLowerCtx ๐Ÿ”’

Enumsยง

MirLowerError

Functionsยง

cast_kind ๐Ÿ”’
convert_closure_capture_projections ๐Ÿ”’
lower_body_to_mir
Extracts params from body.params/body.self_param and the callable signature, then delegates to lower_to_mir_with_store.
lower_to_mir_with_store
Parameters
mir_body_cycle_result ๐Ÿ”’
mir_body_for_closure_cycle_result ๐Ÿ”’
mir_body_for_closure_query
mir_body_query

Type Aliasesยง

Result ๐Ÿ”’