[beta] Clippy backport ICE/infinite loop fix#96740
[beta] Clippy backport ICE/infinite loop fix#96740flip1995 wants to merge 2 commits intorust-lang:betafrom
Conversation
This simplifies the visitor code a bit and prevents checking expressions multiple times. I still think this lint should be removed for now, because its code isn't really tested.
|
Some changes occurred in src/tools/clippy. cc @rust-lang/clippy |
|
(rust-highfive has picked a reviewer for you, use r? to override) |
|
|
ping @Mark-Simulacrum We'd like to get this in before beta branching tomorrow. |
|
The backport needs to be approved by either the clippy team or the compiler team. Note that Friday is next beta branching, and that doesn't affect backport schedules, so while it's important to get this accepted or not quickly we're not on a rush to do so until beta branch on Friday. |
|
@rust-lang/clippy This backport moves the This still misses an approval of a Clippy team member and because I don't want to self-approve this, could someone else from the team take another look, please? |
|
Unilaterally approving for backport as we're somewhat pressed for time. |
|
Bundled into #97014. |
…ulacrum [beta] backports This backports/rolls up: * Quick fix for rust-lang#96223. rust-lang#96679 * [beta] Revert rust-lang#92519 on beta rust-lang#96556 * [beta] Clippy backport ICE/infinite loop fix rust-lang#96740 * Revert "Prefer projection candidates instead of param_env candidates for Sized predicates" rust-lang#96593
Those commits are picked from the latest Clippy sync: #96735
This fixed the issue rust-lang/rust-clippy#8689