Um.
You know, you can breed Ditto with virtually anything... except for the Undiscovered Egg group.
You can't breed Riolu until you evolve her/him into a Lucario. Then, you may breed the Lucario with Pokémon in the Field, Human-Like, or Ditto Egg groups.