rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.76k stars 12.76k forks source link

[beta] Clippy backports #133299

Open flip1995 opened 1 day ago

flip1995 commented 1 day ago

r? @Mark-Simulacrum

Backports:

The first is just a regrouping to a allow-by-default group, as we figured that the lint would be too noisy as a warn-by-default lint. That lint was added last release cycle, so we want to do the re-grouping before it hits stable.

The second is a bug fix for &raw references that are already stable in 1.82, but we don't want to wait another release cycle for the fix to land on stable.

Both commits are already synced to the current master branch.

rustbot commented 1 day ago

:warning: Warning :warning:

rustbot commented 1 day ago

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy