Leinster are through to the semi-finals of the United Rugby Championship.
Leo Cullen's side have beaten the Scarlets by 33 points to 21 at the Aviva Stadium to set up a last-four clash with Glasgow.
Hugo Keenan, Jamie Osborne, James Lowe and Jamison Gibson-Park scored Leinster's tries.
Edinburgh have failed to join Glasgow in the semi-finals after losing 42-33 to South African side Bulls in the play-offs.
They couldn't hold on despite taking a narrow half-time lead in Pretoria.