Skip to content

Should disable if_let_mutex in 2024 edition #13679

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
andersk opened this issue Nov 13, 2024 · 1 comment · Fixed by #13695
Closed

Should disable if_let_mutex in 2024 edition #13679

andersk opened this issue Nov 13, 2024 · 1 comment · Fixed by #13695
Assignees

Comments

@andersk
Copy link
Contributor

andersk commented Nov 13, 2024

The if_let_mutex rule should be disabled in the 2024 edition, because the if…let scoping issue that motivated it has been fixed in the 2024 edition:

@alex-semenyuk
Copy link
Member

@rustbot claim

github-merge-queue bot pushed a commit that referenced this issue Nov 17, 2024
Close #13679

changelog: [`if_let_mutex`]: disable lint from Edition 2024 since
[stabilized if_let_rescope
](rust-lang/rust#131154)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants