error: unreachable pattern --> $DIR/issue-30240-b.rs:12:9 | LL | "hello" => {} | ^^^^^^^ | note: the lint level is defined here --> $DIR/issue-30240-b.rs:1:9 | LL | #![deny(unreachable_patterns)] | ^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error