Module rustc_trans::middle::ty_relateUnstable [-] [+] [src]

Generalized type relating mechanism. A type relation R relates a pair of values (A, B). A and B are usually types or regions but can be other things. Examples of type relations are subtyping, type equality, etc.

Traits

Relate
TypeRelation

Functions

expected_found
expected_found_bool
super_relate_tys

The main "type relation" routine. Note that this does not handle inference artifacts, so you should filter those out before calling it.

Type Definitions

RelateResult