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
TooManyCandidates
…we found multiple sources of information and couldn’t resolve the ambiguity.
TraitSelectionError(SelectionError<'tcx>)
Tuple Fields
0: SelectionError<'tcx>…an error occurred matching T : TraitRef
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ProjectionTyError
impl<'tcx> !Send for ProjectionTyError
impl<'tcx> !Sync for ProjectionTyError
impl<'tcx> Unpin for ProjectionTyError
impl<'tcx> !UnwindSafe for ProjectionTyError
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
