Function miri::struct_error

source ·
pub fn struct_error<'tcx>(
    tcx: TyCtxtAt<'tcx>,
    msg: &str
) -> DiagnosticBuilder<'tcx, ErrorGuaranteed>