]> git.lizzy.rs Git - rust.git/commit
Clean up dead code in `qualify_consts`
authorDylan MacKenzie <ecstaticmorse@gmail.com>
Wed, 6 Nov 2019 23:00:29 +0000 (15:00 -0800)
committerDylan MacKenzie <ecstaticmorse@gmail.com>
Fri, 8 Nov 2019 23:00:20 +0000 (15:00 -0800)
commita3b03690c07f72ed802e4e77501960482c7c2661
treea6481ece89829c4d63317ae9795e4c06dff8ef38
parentb13c2c330d623d1254a0c02e6447e3717470728c
Clean up dead code in `qualify_consts`

We don't do promotion here anymore, so `Checker` will never even visit
the body of a non-const `fn`.
src/librustc_mir/transform/qualify_consts.rs