Function rustc::middle::typeck::astconv::ast_path_to_trait_ref[src]
pub fn ast_path_to_trait_ref<AC: AstConv, RS: RegionScope>(this: &AC, rscope: &RS, trait_def_id: DefId, self_ty: Option<t>, path: &Path) -> Rc<TraitRef>
pub fn ast_path_to_trait_ref<AC: AstConv, RS: RegionScope>(this: &AC, rscope: &RS, trait_def_id: DefId, self_ty: Option<t>, path: &Path) -> Rc<TraitRef>
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).