diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-22 15:45:50 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-22 15:45:50 +0000 |
commit | b16add934d3cb4817ec0f20b8697a4d9701fce4e (patch) | |
tree | ed30dd2086b20340d4f45242a3d6c6ac6787dc92 /crates/toolchain | |
parent | 0c37b3a0fc6d62cd1401320c53feb51a58ea09a6 (diff) | |
parent | 06f1c8f5a10f0114cbd94111312ea58d59570efc (diff) | |
parent | ce29730bc773a27eaeaae7fa4122563df3b253b6 (diff) |
Merge #7310 #7395
7310: Add assist: add lifetime to type r=matklad a=bnjjj
close #7200
7395: Obtain `ModuleId`'s `DefMap` through a method r=jonas-schievink a=jonas-schievink
Once `ModuleId` can represent modules inside block expressions, this will be required in order to obtain the correct `DefMap`. Otherwise existing code might use a `LocalModuleId` from the wrong `DefMap` and cause a panic.
bors r+
Co-authored-by: Benjamin Coenen <[email protected]>
Co-authored-by: Jonas Schievink <[email protected]>