suspicious_double_ref_op
: don't lint on .borrow()
by fee1-dead · Pull Request #112517 · rust-lang/rust (original) (raw)
It's too late now for 1.71.0, of course, but it could be considered for 1.71.1. A warn-by-default lint is not such a big deal, but this is a trivial backport (clean cherry-pick), and we're planning to have a point release anyway.
FWIW, I also got a bug for this in CentOS Stream: https://bugzilla.redhat.com/show_bug.cgi?id=2225471
@rustbot label +stable-nominated