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.