Struct rustc_typeck::check::writeback::WritebackCx[−][src]

struct WritebackCx<'cx, 'tcx> {
    fcx: &'cx FnCtxt<'cx, 'tcx>,
    typeck_results: TypeckResults<'tcx>,
    body: &'tcx Body<'tcx>,
    rustc_dump_user_substs: bool,
}

Fields

fcx: &'cx FnCtxt<'cx, 'tcx>typeck_results: TypeckResults<'tcx>body: &'tcx Body<'tcx>rustc_dump_user_substs: bool

Implementations

impl<'cx, 'tcx> WritebackCx<'cx, 'tcx>[src]

fn new(
    fcx: &'cx FnCtxt<'cx, 'tcx>,
    body: &'tcx Body<'tcx>,
    rustc_dump_user_substs: bool
) -> WritebackCx<'cx, 'tcx>
[src]

fn tcx(&self) -> TyCtxt<'tcx>[src]

fn write_ty_to_typeck_results(&mut self, hir_id: HirId, ty: Ty<'tcx>)[src]

fn fix_scalar_builtin_expr(&mut self, e: &Expr<'_>)[src]

fn fix_index_builtin_expr(&mut self, e: &Expr<'_>)[src]

impl<'cx, 'tcx> WritebackCx<'cx, 'tcx>[src]

fn visit_min_capture_map(&mut self)[src]

fn visit_fake_reads_map(&mut self)[src]

fn visit_closures(&mut self)[src]

fn visit_coercion_casts(&mut self)[src]

fn visit_user_provided_tys(&mut self)[src]

fn visit_user_provided_sigs(&mut self)[src]

fn visit_generator_interior_types(&mut self)[src]

fn visit_opaque_types(&mut self, span: Span)[src]

fn visit_field_id(&mut self, hir_id: HirId)[src]

fn visit_node_id(&mut self, span: Span, hir_id: HirId)[src]

fn visit_adjustments(&mut self, span: Span, hir_id: HirId)[src]

fn visit_pat_adjustments(&mut self, span: Span, hir_id: HirId)[src]

fn visit_liberated_fn_sigs(&mut self)[src]

fn visit_fru_field_types(&mut self)[src]

fn resolve<T>(&mut self, x: T, span: &dyn Locatable) -> T where
    T: TypeFoldable<'tcx>, 
[src]

Trait Implementations

impl<'cx, 'tcx> Visitor<'tcx> for WritebackCx<'cx, 'tcx>[src]

type Map = ErasedMap<'tcx>

Auto Trait Implementations

impl<'cx, 'tcx> !RefUnwindSafe for WritebackCx<'cx, 'tcx>

impl<'cx, 'tcx> !Send for WritebackCx<'cx, 'tcx>

impl<'cx, 'tcx> !Sync for WritebackCx<'cx, 'tcx>

impl<'cx, 'tcx> Unpin for WritebackCx<'cx, 'tcx> where
    'tcx: 'cx, 

impl<'cx, 'tcx> !UnwindSafe for WritebackCx<'cx, 'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]