1A pit or enclosure in which rats are confined and then set upon by dogs for sport (now historical).
2 figurative A house or other structure suggestive of a rat pit.
Mid 19th century; earliest use found in Bentley's Miscellany.
Are You Learning English? Here Are Our Top English Tips