rustc_transmute::maybe_transmutable::query_context

Trait QueryContext

Source
pub(crate) trait QueryContext {
    type Def: Def;
    type Ref: Ref;
}
Expand description

Context necessary to answer the question “Are these types transmutable?”.

Required Associated Types§

Implementations on Foreign Types§

Source§

impl<'tcx> QueryContext for TyCtxt<'tcx>

Source§

type Def = Def<'tcx>

Source§

type Ref = Ref<'tcx>

Implementors§