Mateo Carreras scored a hat-trick of tries as Argentina beat Japan 39-27 in a thriller in Nantes on Sunday to set up a World Cup quarter-final against Wales.

Los Pumas finished as Pool D runners-up behind England and fixed a date against the Welsh in Marseille next weekend. Defeat meant Japan failed to advance to the knock-out phase.

“We like to be a fighting team, and we fight for everything, but the resilience of this team is what makes the difference here. I am really proud of the team for how we fought,” said Argentina captain Julian Montoya.