Enum rustc_trait_selection::traits::project::ProjectionTyError [−][src]
pub enum ProjectionTyError<'tcx> {
TooManyCandidates,
TraitSelectionError(SelectionError<'tcx>),
}
Expand description
When attempting to resolve <T as TraitRef>::Name
…
Variants
…we found multiple sources of information and couldn’t resolve the ambiguity.
TraitSelectionError(SelectionError<'tcx>)
…an error occurred matching T : TraitRef
Tuple Fields of TraitSelectionError
0: SelectionError<'tcx>
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ProjectionTyError<'tcx>
impl<'tcx> !Send for ProjectionTyError<'tcx>
impl<'tcx> !Sync for ProjectionTyError<'tcx>
impl<'tcx> Unpin for ProjectionTyError<'tcx>
impl<'tcx> !UnwindSafe for ProjectionTyError<'tcx>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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
Size for each variant:
TooManyCandidates
: 0 bytesTraitSelectionError
: 88 bytes