Trait rustc_query_system::values::Value

source ·
pub trait Value<Tcx: DepContext>: Sized {
    // Required method
    fn from_cycle_error(
        tcx: Tcx,
        cycle_error: &CycleError,
        guar: ErrorGuaranteed,
    ) -> Self;
}

Required Methods§

source

fn from_cycle_error( tcx: Tcx, cycle_error: &CycleError, guar: ErrorGuaranteed, ) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Tcx: DepContext, T> Value<Tcx> for T