rustc_query_system

Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

source§

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