Struct rustc_hir_analysis::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§
source§impl<'a> IntoDiagnostic<'a, ErrorGuaranteed> for MissingTypeParams
impl<'a> IntoDiagnostic<'a, ErrorGuaranteed> for MissingTypeParams
source§fn 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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: 72 bytes