make PlaceholderConst
not store the type of the const
This commit is contained in:
parent
1f5d8d49eb
commit
825a7cc65c
8 changed files with 13 additions and 13 deletions
|
@ -2069,7 +2069,7 @@ fn replace_param_and_infer_substs_with_placeholder<'tcx>(
|
|||
ty,
|
||||
kind: ty::ConstKind::Placeholder(ty::PlaceholderConst {
|
||||
universe: ty::UniverseIndex::ROOT,
|
||||
name: ty::BoundConst { ty, var: ty::BoundVar::from_usize(idx) },
|
||||
name: ty::BoundVar::from_usize(idx),
|
||||
}),
|
||||
})
|
||||
.into()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue