]> git.lizzy.rs Git - rust.git/commit
Auto merge of #85178 - cjgillot:local-crate, r=oli-obk
authorbors <bors@rust-lang.org>
Mon, 17 May 2021 01:42:03 +0000 (01:42 +0000)
committerbors <bors@rust-lang.org>
Mon, 17 May 2021 01:42:03 +0000 (01:42 +0000)
commit3c530059496200e02ab8ffe7c7ed3cc07cf08863
treec2d0f0d5dce693875cedadb1796521e009c1f3f0
parenta5da29cf8f45f831e52c1e027eea73f3937c810d
parent915d7663076ffc8a0633ed2ee47ce80e4dcdac19
Auto merge of #85178 - cjgillot:local-crate, r=oli-obk

Remove CrateNum parameter for queries that only work on local crate

The pervasive `CrateNum` parameter is a remnant of the multi-crate rustc idea.

Using `()` as query key in those cases avoids having to worry about the validity of the query key.
src/driver/aot.rs