Regression in checking for unneccessary mutable references #114405
Labels
A-clippy
Area: Clippy
C-bug
Category: This is a bug.
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Code
Checking the github.com/pendulum-project/statime repository with cargo clippy on nightly-2023-08-02 finds two warnings for unneeded mutable references. One of these is genuine, but the other is a false alarm.
Output:
of these, the warning on recv is the false alarm (the mut is very much needed on that function, as one would expect for a function called recv)
Version it worked on
rustc +nightly-2023-08-01 --version --verbose
:Version with regression
rustc +nightly-2023-08-02 --version --verbose
:@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
The text was updated successfully, but these errors were encountered: