[−][src]Struct rustc_typeck::check::wfcheck::CheckWfFcxBuilder

pub(in check::wfcheck) struct CheckWfFcxBuilder<'tcx> {
    inherited: InheritedBuilder<'tcx>,
    id: HirId,
    span: Span,
    param_env: ParamEnv<'tcx>,
}

Helper type of a temporary returned by .for_item(...). This is necessary because we can't write the following bound:

F: for<'b, 'tcx> where 'tcx FnOnce(FnCtxt<'b, 'tcx>)

Fields

inherited: InheritedBuilder<'tcx>id: HirIdspan: Spanparam_env: ParamEnv<'tcx>

Implementations

impl<'tcx> CheckWfFcxBuilder<'tcx>[src]

pub(in check::wfcheck) fn with_fcx<F>(
    &mut self,
    f: F
) where
    F: for<'b> FnOnce(&FnCtxt<'b, 'tcx>, TyCtxt<'tcx>) -> Vec<Ty<'tcx>>, 
[src]

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for CheckWfFcxBuilder<'tcx>

impl<'tcx> !Send for CheckWfFcxBuilder<'tcx>

impl<'tcx> !Sync for CheckWfFcxBuilder<'tcx>

impl<'tcx> Unpin for CheckWfFcxBuilder<'tcx>

impl<'tcx> !UnwindSafe for CheckWfFcxBuilder<'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]