]> git.lizzy.rs Git - rust.git/commit
Shortcut `block_def_map` if there's no inner items
authorJonas Schievink <jonasschievink@gmail.com>
Mon, 1 Feb 2021 12:32:43 +0000 (13:32 +0100)
committerJonas Schievink <jonasschievink@gmail.com>
Wed, 3 Feb 2021 14:33:25 +0000 (15:33 +0100)
commitda57f5dc17303cfd5ba318d1735c7f325f6b7130
treee3df694209537a03437b6b041e4c3cb24c481563
parent7eff6705cc1c1d4399a7c9da360d344a96df59b6
Shortcut `block_def_map` if there's no inner items

This previously didn't work, but apparently only because of the wonky
test setup
crates/hir_def/src/body/lower.rs
crates/hir_def/src/body/tests.rs
crates/hir_def/src/db.rs
crates/hir_def/src/lib.rs
crates/hir_def/src/nameres.rs