-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Deprecated if_let_mutex
due to stabilization in 2024 edition
#13686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @Alexendoo rustbot has assigned @Alexendoo. Use |
bda12c0
to
a248b2c
Compare
Does the stabilization effect all editions or only Edition 2024 and onwards? |
Suppose only 2024 |
I haven't looked at the lint in detail, but would it make sense to make the linting dependent on the edition instead of deprecating it? |
Make sense, might you know examples such edition dependent issues |
|
When I try to use |
One can work around that issue by passing the option manually. I don't know how that test doesn't trip the same issue. Maybe CI specifies //@ compile-flags: -Zunstable-options |
The linked test is fine since it's only editions 2018 and 2021 |
Close #13679
As mentioned at #131154
if_let_rescope
is now stable for Edition 2024, so no needif_let_mutex
changelog: [
if_let_mutex
]: deprecation