Trench dug, yah boo sucks! (2,2)
I believe the answer is:
ha ha
'trench' is the definition.
(thesaurus)
I cannot understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for ha ha that I've seen before include "laughter" , "thing to keep animals out!" , "A wall" , "Boundary marker" , "Bound" .)