Enum rustc::traits::SelectionError [−][src]
pub enum SelectionError<'tcx> {
Unimplemented,
OutputTypeParameterMismatch(PolyTraitRef<'tcx>, PolyTraitRef<'tcx>, TypeError<'tcx>),
TraitNotObjectSafe(DefId),
ConstEvalFailure(Lrc<ConstEvalErr<'tcx>>),
Overflow,
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Variants
Unimplemented🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
OutputTypeParameterMismatch(PolyTraitRef<'tcx>, PolyTraitRef<'tcx>, TypeError<'tcx>)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
TraitNotObjectSafe(DefId)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
ConstEvalFailure(Lrc<ConstEvalErr<'tcx>>)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Overflow🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl<'tcx> From<OverflowError> for SelectionError<'tcx>[src]
impl<'tcx> From<OverflowError> for SelectionError<'tcx>fn from(OverflowError: OverflowError) -> SelectionError<'tcx>[src]
fn from(OverflowError: OverflowError) -> SelectionError<'tcx>Performs the conversion.
impl<'a, 'tcx> Lift<'tcx> for SelectionError<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for SelectionError<'a>type Lifted = SelectionError<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn lift_to_tcx<'b, 'gcx>(
&self,
tcx: TyCtxt<'b, 'gcx, 'tcx>
) -> Option<Self::Lifted>[src]
fn lift_to_tcx<'b, 'gcx>(
&self,
tcx: TyCtxt<'b, 'gcx, 'tcx>
) -> Option<Self::Lifted>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl<'tcx> Clone for SelectionError<'tcx>[src]
impl<'tcx> Clone for SelectionError<'tcx>fn clone(&self) -> SelectionError<'tcx>[src]
fn clone(&self) -> SelectionError<'tcx>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<'tcx> Debug for SelectionError<'tcx>[src]
impl<'tcx> Debug for SelectionError<'tcx>Auto Trait Implementations
impl<'tcx> !Send for SelectionError<'tcx>
impl<'tcx> !Send for SelectionError<'tcx>impl<'tcx> !Sync for SelectionError<'tcx>
impl<'tcx> !Sync for SelectionError<'tcx>