ProvidedValue in rustc_middle::queries::mir_const_qualif - Rust
Description: Type returned from query providers and loaded from disk-cache.

Skip to main content

## ProvidedValue

# Type Alias ProvidedValue

Source

    pub type ProvidedValue<'tcx> = Value<'tcx>;

Expand description

Type returned from query providers and loaded from disk-cache.

## Aliased Type§

    pub struct ProvidedValue<'tcx> {
        pub has_mut_interior: bool,
        pub needs_drop: bool,
        pub needs_non_const_drop: bool,
        pub tainted_by_errors: Option<ErrorGuaranteed>,
    }

## Fields§

§`has_mut_interior: bool`§`needs_drop: bool`§`needs_non_const_drop: bool`§`tainted_by_errors: Option<ErrorGuaranteed>`

## 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: 4 bytes