Struct rustc_trait_selection::traits::FulfillmentError [−][src]
pub struct FulfillmentError<'tcx> {
pub obligation: Obligation<'tcx, Predicate<'tcx>>,
pub code: FulfillmentErrorCode<'tcx>,
pub points_at_arg_span: bool,
pub root_obligation: Obligation<'tcx, Predicate<'tcx>>,
}Fields
obligation: Obligation<'tcx, Predicate<'tcx>>code: FulfillmentErrorCode<'tcx>points_at_arg_span: boolDiagnostics only: we opportunistically change the code.span when we encounter an
obligation error caused by a call argument. When this is the case, we also signal that in
this field to ensure accuracy of suggestions.
root_obligation: Obligation<'tcx, Predicate<'tcx>>Diagnostics only: the ‘root’ obligation which resulted in
the failure to process obligation. This is the obligation
that was initially passed to register_predicate_obligation
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for FulfillmentError<'tcx>
impl<'tcx> !Send for FulfillmentError<'tcx>
impl<'tcx> !Sync for FulfillmentError<'tcx>
impl<'tcx> Unpin for FulfillmentError<'tcx>
impl<'tcx> !UnwindSafe for FulfillmentError<'tcx>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 168 bytes