She made the mistake of debating the issue at all and appealing to the base rather than answering that it is settled law and that Trump was pandering by mentioning it.  Her base would have voted for her anyway and some of Trumps.