Struct rustc_lint::middle::infer::combine::CombineFields
[−]
[src]
pub struct CombineFields<'a, 'tcx> where 'tcx: 'a {
pub infcx: &'a InferCtxt<'a, 'tcx>,
pub a_is_expected: bool,
pub trace: TypeTrace<'tcx>,
}Unstable
Fields
infcx | Unstable |
a_is_expected | Unstable |
trace | Unstable |
Methods
impl<'a, 'tcx> CombineFields<'a, 'tcx>
fn tcx(&self) -> &'a ctxt<'tcx>
Unstable
fn switch_expected(&self) -> CombineFields<'a, 'tcx>
Unstable
fn equate(&self) -> Equate<'a, 'tcx>
Unstable
fn bivariate(&self) -> Bivariate<'a, 'tcx>
Unstable
fn sub(&self) -> Sub<'a, 'tcx>
Unstable
fn lub(&self) -> Lub<'a, 'tcx>
Unstable
fn glb(&self) -> Glb<'a, 'tcx>
Unstable
fn instantiate(&self, a_ty: &'tcx TyS<'tcx>, dir: RelationDir, b_vid: TyVid) -> Result<(), type_err<'tcx>>
Unstable