mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
e0e204f3e9
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`