Struct rustc_passes::intrinsicck::ExprVisitor[−][src]

struct ExprVisitor<'tcx> {
    tcx: TyCtxt<'tcx>,
    typeck_results: &'tcx TypeckResults<'tcx>,
    param_env: ParamEnv<'tcx>,
}

Fields

tcx: TyCtxt<'tcx>typeck_results: &'tcx TypeckResults<'tcx>param_env: ParamEnv<'tcx>

Implementations

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

fn def_id_is_transmute(&self, def_id: DefId) -> bool[src]

fn check_transmute(&self, span: Span, from: Ty<'tcx>, to: Ty<'tcx>)[src]

fn is_thin_ptr_ty(&self, ty: Ty<'tcx>) -> bool[src]

fn check_asm_operand_type(
    &self,
    idx: usize,
    reg: InlineAsmRegOrRegClass,
    expr: &Expr<'tcx>,
    template: &[InlineAsmTemplatePiece],
    tied_input: Option<(&Expr<'tcx>, Option<InlineAsmType>)>
) -> Option<InlineAsmType>
[src]

fn check_asm(&self, asm: &InlineAsm<'tcx>)[src]

Trait Implementations

impl<'tcx> Visitor<'tcx> for ExprVisitor<'tcx>[src]

type Map = ErasedMap<'tcx>

Auto Trait Implementations

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

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

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

impl<'tcx> Unpin for ExprVisitor<'tcx>

impl<'tcx> !UnwindSafe for ExprVisitor<'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<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.