Function rustc_hir_analysis::check::cast::make_invalid_casting_error
source · [−]fn make_invalid_casting_error<'a, 'tcx>(
sess: &'a Session,
span: Span,
expr_ty: Ty<'tcx>,
cast_ty: Ty<'tcx>,
fcx: &FnCtxt<'a, 'tcx>
) -> DiagnosticBuilder<'a, ErrorGuaranteed>