]> git.lizzy.rs Git - rust.git/commit
rust-lang/rust#27282: emit `ReadForMatch` on each match arm.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 4 May 2018 10:05:10 +0000 (12:05 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 29 May 2018 21:02:39 +0000 (23:02 +0200)
commit173315e353a9c3c3b8ba2301eaac14fada41f84f
treeff3168b54d4ec1d39b2a99cdfbba692b8cb594c3
parent24abe6f363cd47d444e4cff1123da93817b980f8
rust-lang/rust#27282: emit `ReadForMatch` on each match arm.

Also, turn on ReadForMatch emission by default (when using NLL).
src/librustc/session/config.rs
src/librustc/ty/context.rs
src/librustc_mir/build/matches/mod.rs