]> 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>
Mon, 1 Feb 2021 12:33:18 +0000 (13:33 +0100)
commitb4aa860cac98d69fe4e38602904a6e9e6569e5a6
tree2d6a120c6bf8219f801c305dfd0b5ef4d19039a1
parent80ae583dc02967f329254ed0949f1158c5304d83
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/nameres.rs