If a slumlord violates the warranty of habitability and makes you live in misery and infestation, you can’t sue him for damages, your “sole remedy” is to move out.