Module rustc_middle::query::queries::upstream_drop_glue_for
source · Functions
- This function takes
ProvidedValue
and coverts it to an erasedValue
by allocating it on an arena if the query has thearena_cache
modifier. The value is then erased and returned. This will happen when computing the query using a provider or decoding a stored result.
Type Aliases
- This type alias specifies the type returned from query providers and the type used for decoding. For regular queries this is the declared returned type
V
, butarena_cache
will use<V as Deref>::Target
instead.