Function miri::interpret::struct_error

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