Struct rustc_query_system::query::job::QueryInfo
source · pub struct QueryInfo<D: DepKind> {
pub span: Span,
pub query: QueryStackFrame<D>,
}
Expand description
Represents a span and a query key.
Fields§
§span: Span
The span corresponding to the reason for which this query was required.
query: QueryStackFrame<D>
Trait Implementations§
Auto Trait Implementations§
impl<D> RefUnwindSafe for QueryInfo<D>where D: RefUnwindSafe,
impl<D> !Send for QueryInfo<D>
impl<D> !Sync for QueryInfo<D>
impl<D> Unpin for QueryInfo<D>where D: Unpin,
impl<D> UnwindSafe for QueryInfo<D>where D: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Tcx, T, D> Value<Tcx, D> for Twhere
Tcx: DepContext,
D: DepKind,
impl<Tcx, T, D> Value<Tcx, D> for Twhere Tcx: DepContext, D: DepKind,
default fn from_cycle_error(tcx: Tcx, cycle: &[QueryInfo<D>]) -> T
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.