1
Fork 0

Use () for mir_keys.

This commit is contained in:
Camille GILLOT 2021-05-11 12:26:53 +02:00
parent 9d15abe0cc
commit 75f4f6ee4f
5 changed files with 10 additions and 11 deletions

View file

@ -223,7 +223,7 @@ rustc_queries! {
/// Set of all the `DefId`s in this crate that have MIR associated with
/// them. This includes all the body owners, but also things like struct
/// constructors.
query mir_keys(_: CrateNum) -> FxHashSet<LocalDefId> {
query mir_keys(_: ()) -> FxHashSet<LocalDefId> {
storage(ArenaCacheSelector<'tcx>)
desc { "getting a list of all mir_keys" }
}