Function rustc::middle::typeck::infer::mk_sub_trait_refs[src]
pub fn mk_sub_trait_refs(cx: &InferCtxt, a_is_expected: bool, origin: TypeOrigin, a: Rc<TraitRef>, b: Rc<TraitRef>) -> ures
pub fn mk_sub_trait_refs(cx: &InferCtxt, a_is_expected: bool, origin: TypeOrigin, a: Rc<TraitRef>, b: Rc<TraitRef>) -> ures
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).