]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.


Trivial merge