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