The Public Enemy
According to Robert Osborne, on Turner Classic Movies, the part of "Nick the Chauffeur" was originally intended for James Cagney, but his success in "The Public Enemy" prevented his accepting a supporting role, paving the way for Gable.