Skip to content

Commit 75c5284

Browse files
committed
Auto merge of #149096 - chenyukang:yukang-fix-unused-vars-148373, r=oli-obk
Skip unused variables warning for unreachable code Fixes rust-lang/rust#148373 These warnings are not reported on stable branch, but are now reported on the beta. I tried another solution to record whether a `local` is reachable in `find_dead_assignments`, but the code in this PR seems simpler. r? `@cjgillot`
2 parents cb612bd + 2adc6ba commit 75c5284

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)