Trait rustc_trans::middle::typeck::infer::unify::SimplyUnifiableExperimental [-]  [+] [src]

pub trait SimplyUnifiable<'tcx>: Repr<'tcx> + PartialEq + Clone {
    fn to_type(&self) -> &'tcx TyS<'tcx>;
    fn to_type_err(expected_found<Self>) -> type_err<'tcx>;
}

Indicates a type that does not have any kind of subtyping relationship.

Required Methods

fn to_type(&self) -> &'tcx TyS<'tcx>

fn to_type_err(expected_found<Self>) -> type_err<'tcx>

Implementors