pub struct MissingCastForVariadicArg<'tcx, 's> {
pub sess: &'tcx Session,
pub span: Span,
pub ty: Ty<'tcx>,
pub cast_ty: &'s str,
}
Fields§
§sess: &'tcx Session
§span: Span
§ty: Ty<'tcx>
§cast_ty: &'s str
Trait Implementations§
source§impl<'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§
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