What does ‘rat hole’ mean?

( np ) A nasty, dirty place. Mortimer lives in a rat hole.
( np ) A place from which there is no return. Buying this old car would be throwing your money down a rat hole.