You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With rust#76135 and rust#76136 the methods is_some, is_none, is_ok and is_err will be stabilized as const. This makes them valid replacement suggestions again for Clippy within a const context, which was disabled in #5724.
The tests redundant_pattern_matching and redundant_pattern_matching_const_result thus need to be updated. I'm opening up this issue to reference in those modified tests.
Theses changes will be applied to the rustc in-tree version, as it currently blocks the stabilization of these methods.
The text was updated successfully, but these errors were encountered:
In-tree changes to clippy are synced back periodically, so I am not sure this issue is even necessary (but maybe I am out of date wrt. clippy processes).
Thanks for the heads up! Issues like this are not really necessary, since our CI currently already screams at us, if we haven't synced a Clippy change from rustc.
On bigger Clippy changes it is always nice to get pinged (@rust-lang/clippy), though.
With rust#76135 and rust#76136 the methods
is_some
,is_none
,is_ok
andis_err
will be stabilized as const. This makes them valid replacement suggestions again for Clippy within a const context, which was disabled in #5724.The tests
redundant_pattern_matching
andredundant_pattern_matching_const_result
thus need to be updated. I'm opening up this issue to reference in those modified tests.Theses changes will be applied to the rustc in-tree version, as it currently blocks the stabilization of these methods.
The text was updated successfully, but these errors were encountered: