rustc_hir_analysis

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ยง

GenericArgsBuilder ๐Ÿ”’
GenericsBuilder ๐Ÿ”’
ParamIndexRemapper ๐Ÿ”’
PredicatesBuilder ๐Ÿ”’

Enumsยง

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

Functionsยง

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 ๐Ÿ”’