Use a slice in DefIdForest.
This commit is contained in:
parent
6c2ee885e6
commit
f72f15ca28
3 changed files with 22 additions and 25 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue