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§
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.