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
|
@ -746,7 +746,7 @@ impl<'tcx> TypeFolder<'tcx> for BoundVarReplacer<'_, 'tcx> {
|
|||
let universe = self.universe_for(debruijn);
|
||||
let p = ty::PlaceholderConst {
|
||||
universe,
|
||||
name: ty::BoundConst { var: bound_const, ty: ct.ty() },
|
||||
name: bound_const,
|
||||
};
|
||||
self.mapped_consts.insert(p, bound_const);
|
||||
self.infcx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue