Struct rustc_typeck::errors::MissingTypeParams
source · [−]pub struct MissingTypeParams {
pub span: Span,
pub def_span: Span,
pub span_snippet: Option<String>,
pub missing_type_params: Vec<Symbol>,
pub empty_generic_args: bool,
}
Fields
span: Span
def_span: Span
span_snippet: Option<String>
missing_type_params: Vec<Symbol>
empty_generic_args: bool
Trait Implementations
sourceimpl<'a> SessionDiagnostic<'a, ErrorGuaranteed> for MissingTypeParams
impl<'a> SessionDiagnostic<'a, ErrorGuaranteed> for MissingTypeParams
sourcefn into_diagnostic(
self,
handler: &'a Handler
) -> DiagnosticBuilder<'a, ErrorGuaranteed>
fn into_diagnostic(
self,
handler: &'a Handler
) -> DiagnosticBuilder<'a, ErrorGuaranteed>
Write out as a diagnostic out of
Handler
.Auto Trait Implementations
impl RefUnwindSafe for MissingTypeParams
impl !Send for MissingTypeParams
impl !Sync for MissingTypeParams
impl Unpin for MissingTypeParams
impl UnwindSafe for MissingTypeParams
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: 72 bytes