Enum rustc_trait_selection::traits::SelectionError [−][src]
pub enum SelectionError<'tcx> {
Unimplemented,
OutputTypeParameterMismatch(Binder<'tcx, TraitRef<'tcx>>, Binder<'tcx, TraitRef<'tcx>>, TypeError<'tcx>),
TraitNotObjectSafe(DefId),
NotConstEvaluatable(NotConstEvaluatable),
Overflow,
}Variants
OutputTypeParameterMismatch(Binder<'tcx, TraitRef<'tcx>>, Binder<'tcx, TraitRef<'tcx>>, TypeError<'tcx>)TraitNotObjectSafe(DefId)NotConstEvaluatable(NotConstEvaluatable)Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for SelectionError<'tcx>
impl<'tcx> !Send for SelectionError<'tcx>
impl<'tcx> !Sync for SelectionError<'tcx>
impl<'tcx> Unpin for SelectionError<'tcx>
impl<'tcx> !UnwindSafe for SelectionError<'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
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: 88 bytes