Midfielder Sadio Diallo has joined Lorient on a season-long loan from Rennes, the Ligue 1 club have confirmed.