1
Fork 0

Use () for inferred_outlives_crate.

This commit is contained in:
Camille GILLOT 2021-05-11 12:30:59 +02:00
parent 09f205ac57
commit 3aa6f3e8f5
2 changed files with 4 additions and 7 deletions

View file

@ -555,8 +555,7 @@ rustc_queries! {
}
/// Maps from thee `DefId` of a type to its (inferred) outlives.
query inferred_outlives_crate(_: CrateNum)
-> ty::CratePredicatesMap<'tcx> {
query inferred_outlives_crate(_: ()) -> ty::CratePredicatesMap<'tcx> {
storage(ArenaCacheSelector<'tcx>)
desc { "computing the inferred outlives predicates for items in this crate" }
}