Struct rustc_infer::errors::ButCallingIntroduces
source · pub struct ButCallingIntroduces {
pub param_ty_span: Span,
pub cause_span: Span,
pub has_param_name: bool,
pub param_name: String,
pub has_lifetime: bool,
pub lifetime: String,
pub assoc_item: Symbol,
pub has_impl_path: bool,
pub impl_path: String,
}
Fields§
§param_ty_span: Span
§cause_span: Span
§has_param_name: bool
§param_name: String
§has_lifetime: bool
§lifetime: String
§assoc_item: Symbol
§has_impl_path: bool
§impl_path: String
Trait Implementations§
source§impl<'__diagnostic_handler_sess, G> IntoDiagnostic<'__diagnostic_handler_sess, G> for ButCallingIntroduceswhere
G: EmissionGuarantee,
impl<'__diagnostic_handler_sess, G> IntoDiagnostic<'__diagnostic_handler_sess, G> for ButCallingIntroduceswhere G: EmissionGuarantee,
source§fn into_diagnostic(
self,
handler: &'__diagnostic_handler_sess Handler
) -> DiagnosticBuilder<'__diagnostic_handler_sess, G>
fn into_diagnostic( self, handler: &'__diagnostic_handler_sess Handler ) -> DiagnosticBuilder<'__diagnostic_handler_sess, G>
Write out as a diagnostic out of
Handler
.Auto Trait Implementations§
impl RefUnwindSafe for ButCallingIntroduces
impl !Send for ButCallingIntroduces
impl !Sync for ButCallingIntroduces
impl Unpin for ButCallingIntroduces
impl UnwindSafe for ButCallingIntroduces
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: 96 bytes