]> git.lizzy.rs Git - rust.git/commitdiff
Merge #7948
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Tue, 9 Mar 2021 18:11:18 +0000 (18:11 +0000)
committerGitHub <noreply@github.com>
Tue, 9 Mar 2021 18:11:18 +0000 (18:11 +0000)
7948: Delete `ContainerId` r=jonas-schievink a=jonas-schievink

Since block expressions containing items now have a `ModuleId`, there's no need to also treat `DefWithBodyId` as a potential item container. Since https://github.com/rust-analyzer/rust-analyzer/pull/7878, only the `ModuleId` variant of `ContainerId` was ever created, so just delete the thing and use `ModuleId` everywhere.

bors r+

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>

Trivial merge