Struct rustc_query_system::query::QueryStackFrame
source · pub struct QueryStackFrame<D: DepKind> {
pub description: String,
span: Option<Span>,
pub def_id: Option<DefId>,
pub def_kind: Option<DefKind>,
pub ty_adt_id: Option<DefId>,
pub dep_kind: D,
}Expand description
Description of a frame in the query stack.
This is mostly used in case of cycles for error reporting.
Fields§
§description: String§span: Option<Span>§def_id: Option<DefId>§def_kind: Option<DefKind>§ty_adt_id: Option<DefId>§dep_kind: DImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<D> RefUnwindSafe for QueryStackFrame<D>where D: RefUnwindSafe,
impl<D> !Send for QueryStackFrame<D>
impl<D> !Sync for QueryStackFrame<D>
impl<D> Unpin for QueryStackFrame<D>where D: Unpin,
impl<D> UnwindSafe for QueryStackFrame<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, _: &[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.