His confession wasn't properly admitted. The man was NOT crossed-examined regarding his confession which violated her Confrontation Clause rights.
According to the 6th Amendment of the Constitution, a defendant in a criminal prosecution has the right to confront adverse witnesses at a trial. In this case, two persons are being tried together and the man's confession implicates hers without him subjecting himself to cross-examination, which violates her Confrontation Clause rights.