pub struct MissingCastForVariadicArg<'tcx, 's> {
pub sess: &'tcx Session,
pub span: Span,
pub ty: Ty<'tcx>,
pub cast_ty: &'s str,
}Fields
sess: &'tcx Sessionspan: Spanty: Ty<'tcx>cast_ty: &'s strTrait Implementations
sourceimpl<'tcx> StructuredDiagnostic<'tcx> for MissingCastForVariadicArg<'tcx, '_>
impl<'tcx> StructuredDiagnostic<'tcx> for MissingCastForVariadicArg<'tcx, '_>
fn session(&self) -> &Session
fn code(&self) -> DiagnosticId
fn diagnostic_common(&self) -> DiagnosticBuilder<'tcx, ErrorGuaranteed>
fn diagnostic_extended(
&self,
err: DiagnosticBuilder<'tcx, ErrorGuaranteed>
) -> DiagnosticBuilder<'tcx, ErrorGuaranteed>
fn diagnostic(&self) -> DiagnosticBuilder<'tcx, ErrorGuaranteed>
fn diagnostic_regular(
&self,
err: DiagnosticBuilder<'tcx, ErrorGuaranteed>
) -> DiagnosticBuilder<'tcx, ErrorGuaranteed>
Auto Trait Implementations
impl<'tcx, 's> !RefUnwindSafe for MissingCastForVariadicArg<'tcx, 's>
impl<'tcx, 's> !Send for MissingCastForVariadicArg<'tcx, 's>
impl<'tcx, 's> !Sync for MissingCastForVariadicArg<'tcx, 's>
impl<'tcx, 's> Unpin for MissingCastForVariadicArg<'tcx, 's>
impl<'tcx, 's> !UnwindSafe for MissingCastForVariadicArg<'tcx, 's>
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: 40 bytes