"shit in a cup" is a noun referring to, obviously, a piece of shit in any type of cup (glass, plastic, etc.).
Guy 1: "Do you want to stop at that gas station to go to the bathroom"?
Guy 2: "Nah, I'll just take a shit in this cup"
Guy 3: "OH GROSS! Get rid of that shit in a cup!"
12👍 5👎