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 GenericArgCountMismatch
impl !Send for GenericArgCountMismatch
impl !Sync for GenericArgCountMismatch
impl Unpin for GenericArgCountMismatch
impl UnwindSafe for GenericArgCountMismatch
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 32 bytes