Closely related to Is there a term for the belief that "if it's legal, it's moral"?
Is there a term for the belief that if something is illegal, it's immoral? Is it simply a variant on "appeal to law", or does it get its own term?
Edit: To be clear, what's the name of the fallacy present in "It's illegal, therefore it's immoral"? This isn't saying that all illegal things are moral or anything, just looking for the terminology