rustc_trait_selection::error_reporting::infer

Module sub_relations

Source

Structsยง

SubId ๐Ÿ”’
SubRelations
When reporting ambiguity errors, we sometimes want to treat all inference vars which are subtypes of each others as if they are equal. For this case we compute the transitive closure of our subtype obligations here.