mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-23 07:17:19 +00:00
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`