Enum rustc_hir_analysis::structured_errors::wrong_number_of_generic_args::GenericArgsInfo
source · [−]pub enum GenericArgsInfo {
MissingLifetimes {
num_missing_args: usize,
},
ExcessLifetimes {
num_redundant_args: usize,
},
MissingTypesOrConsts {
num_missing_args: usize,
num_default_params: usize,
args_offset: usize,
},
ExcessTypesOrConsts {
num_redundant_args: usize,
num_default_params: usize,
args_offset: usize,
synth_provided: bool,
},
}
Variants
MissingLifetimes
Fields
num_missing_args: usize
ExcessLifetimes
Fields
num_redundant_args: usize
MissingTypesOrConsts
ExcessTypesOrConsts
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GenericArgsInfo
impl Send for GenericArgsInfo
impl Sync for GenericArgsInfo
impl Unpin for GenericArgsInfo
impl UnwindSafe for GenericArgsInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
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
Size for each variant:
MissingLifetimes
: 15 bytesExcessLifetimes
: 15 bytesMissingTypesOrConsts
: 31 bytesExcessTypesOrConsts
: 31 bytes