Struct rustc_typeck::astconv::GenericArgCountMismatch [−][src]
pub struct GenericArgCountMismatch {
pub reported: Option<ErrorReported>,
pub invalid_args: Vec<Span>,
}Expand description
A marker denoting that the generic arguments that were provided did not match the respective generic parameters.
Fields
reported: Option<ErrorReported>Indicates whether a fatal error was reported (Some), or just a lint (None).
invalid_args: Vec<Span>A list of spans of arguments provided that were not valid.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for GenericArgCountMismatchimpl !Send for GenericArgCountMismatchimpl !Sync for GenericArgCountMismatchimpl Unpin for GenericArgCountMismatchimpl UnwindSafe for GenericArgCountMismatchBlanket Implementations
Mutably borrows from an owned value. Read more
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: 32 bytes