Struct rustc_query_impl::queries::lit_to_const [−][src]
pub struct lit_to_const<'tcx> {
data: PhantomData<&'tcx ()>,
}
Fields
data: PhantomData<&'tcx ()>
Trait Implementations
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = lit_to_const<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
Auto Trait Implementations
impl<'tcx> RefUnwindSafe for lit_to_const<'tcx>
impl<'tcx> Send for lit_to_const<'tcx>
impl<'tcx> Sync for lit_to_const<'tcx>
impl<'tcx> Unpin for lit_to_const<'tcx>
impl<'tcx> UnwindSafe for lit_to_const<'tcx>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes