Makuhita only learns Dig by TM
At level 40 it will want to learn dig
Groudon can learn TM28- Dig.
Camerupt can learn Dig by using the TM Dig. It cannot learn Dig by leveling up.
Nincada learns dig at level 45.
makuhita evolves at level 24
Linoone does not learn Dig by leveling up, instead it needs the TM to learn Dig.
Makuhita evolves into Hariyama at level 24.
If you level it up to level 45 you will be able to let it learn dig, but remember you'll have to delete a move to learn it.
Trapinch can learn Dig by itself at level 29 in Pokemon X and Y. In Pokemon Omega Ruby and Alpha Sapphire, it can learn Dig at level 19.
makuhita evolves at level 24 into a hariyama
Makuhita Evolves on level 24 into Hariyama, which does not evolve.
Lairon does not learn Dig naturally, however it can learn it by using the appropriate TM.