unconditional_panic lint getting recognized in code that actually panics condtionally #90534
Labels
A-const-prop
Area: Constant propagation
A-control-flow
Area: Control flow
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: code compiles and runs fine, without any error or panic
Instead, this happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: