Intern valtree field vector

This commit is contained in:
Oli Scherer 2021-02-22 14:34:23 +00:00
parent a4fbac163e
commit 0fe4f38769
4 changed files with 23 additions and 9 deletions

View file

@ -789,7 +789,7 @@ rustc_queries! {
/// return `None` if that is not possible.
query const_to_valtree(
key: ty::ParamEnvAnd<'tcx, ConstAlloc<'tcx>>
) -> Option<ty::ValTree> {
) -> Option<ty::ValTree<'tcx>> {
desc { "destructure constant" }
}