Closed as not planned
Description
The dbg!
macro takes its argument by value, so that it can return that same value. See #59943 for some background.
We should lint on code that calls dbg!
on a non-reference value (thus consuming that value) and doesn't do anything with the return value. The lint could suggest taking a reference.