Module delegation

Source
Expand description

Support inheriting generic parameters and predicates for function delegation.

For more information about delegation design, see the tracking issue #118212.

Structsยง

ParamIndexRemapper ๐Ÿ”’

Enumsยง

FnKind ๐Ÿ”’
InheritanceKind ๐Ÿ”’
Given the current context(caller and callee FnKind), it specifies the policy of predicates and generic parameters inheritance.

Functionsยง

build_generic_args ๐Ÿ”’
build_generics ๐Ÿ”’
build_predicates ๐Ÿ”’
check_constraints ๐Ÿ”’
create_generic_args ๐Ÿ”’
fn_kind ๐Ÿ”’
inherit_generics_for_delegation_item ๐Ÿ”’
inherit_predicates_for_delegation_item ๐Ÿ”’
inherit_sig_for_delegation_item ๐Ÿ”’

Type Aliasesยง

RemapTable ๐Ÿ”’