]> git.lizzy.rs Git - rust.git/commit
Use body lowering for block_def_map tests
authorJonas Schievink <jonasschievink@gmail.com>
Mon, 1 Feb 2021 12:20:35 +0000 (13:20 +0100)
committerJonas Schievink <jonasschievink@gmail.com>
Wed, 3 Feb 2021 13:21:15 +0000 (14:21 +0100)
commit7eff6705cc1c1d4399a7c9da360d344a96df59b6
tree3baf5b1f4fd8f94111194bf91dc2c26de13d0f13
parentb7be2b1d3cc2fd8ca8e7aa7542aaf9d4f905f9f5
Use body lowering for block_def_map tests

Removes the hacky and buggy custom lowering code
crates/hir_def/src/body/tests.rs
crates/hir_def/src/body/tests/block.rs [new file with mode: 0644]
crates/hir_def/src/nameres/tests.rs
crates/hir_def/src/nameres/tests/block.rs [deleted file]