2 Checks for calls to `std::mem::forget` with a reference
3 instead of an owned value.
6 Calling `forget` on a reference will only forget the
7 reference itself, which is a no-op. It will not forget the underlying
9 value, which is likely what was intended.
14 std::mem::forget(&x) // Should have been forget(x), x will still be dropped