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