Criticism came from across the Republican spectrum, from the party's old guard to some of Trump's most loyal supporters.