Enum witnext::ValidationError [−][src]
pub enum ValidationError {}Show variants
UnknownName { name: String, location: Location, }, CyclicModule { location: Location, }, NameAlreadyExists { name: String, at_location: Location, previous_location: Location, }, WrongKindName { name: String, location: Location, expected: &'static str, got: &'static str, }, Recursive { name: String, location: Location, }, InvalidRepr { repr: BuiltinType, location: Location, }, Abi { reason: String, location: Location, }, AnonymousRecord { location: Location, }, UnionSizeMismatch { expected: usize, found: usize, location: Location, }, InvalidUnionTag { reason: String, location: Location, }, InvalidUnionField { name: String, reason: String, location: Location, }, ZeroCaseVariant { location: Location, }, ModuleNameMismatch { location: Location, module_name: String, file_name: String, },
Variants
Show fields
Fields of CyclicModule
location: Location
Show fields
Show fields
Fields of InvalidRepr
repr: BuiltinType
location: Location
Show fields
Fields of AnonymousRecord
location: Location
Show fields
Fields of ZeroCaseVariant
location: Location
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError