Use a slice in DefIdForest.

This commit is contained in:
Camille GILLOT 2022-02-01 18:27:49 +01:00
parent 6c2ee885e6
commit f72f15ca28
3 changed files with 22 additions and 25 deletions

View file

@ -1515,8 +1515,7 @@ rustc_queries! {
/// check whether the forest is empty.
query type_uninhabited_from(
key: ty::ParamEnvAnd<'tcx, Ty<'tcx>>
) -> ty::inhabitedness::DefIdForest {
storage(ArenaCacheSelector<'tcx>)
) -> ty::inhabitedness::DefIdForest<'tcx> {
desc { "computing the inhabitedness of `{:?}`", key }
remap_env_constness
}