Module rustc::middle::typeck::collect[src]

Traits

ToTy

Functions

collect_item_types
convert
convert_field
convert_foreign
convert_struct
ensure_no_ty_param_bounds
ensure_trait_methods
get_enum_variant_types
instantiate_trait_ref

Instantiates the path for the given trait reference, assuming that it's bound to a valid trait type. Returns the def_id for the defining trait. Fails if the type is a type other than a trait type.

mk_item_substs
trait_def_of_item
ty_of_foreign_fn_decl
ty_of_foreign_item
ty_of_item