nit
Co-authored-by: lcnr <rust@lcnr.de>
This commit is contained in:
parent
d30f56dbf2
commit
d3cd406519
@ -651,6 +651,7 @@ impl<'tcx> Printer<'tcx> for &mut SymbolMangler<'tcx> {
|
|||||||
.builtin_deref(true)
|
.builtin_deref(true)
|
||||||
.expect("tried to dereference on non-ptr type")
|
.expect("tried to dereference on non-ptr type")
|
||||||
.ty;
|
.ty;
|
||||||
|
// FIXME: add an assert that we only do this for valtrees.
|
||||||
let dereferenced_const = self.tcx.mk_ct_from_kind(ct.kind(), pointee_ty);
|
let dereferenced_const = self.tcx.mk_ct_from_kind(ct.kind(), pointee_ty);
|
||||||
self = dereferenced_const.print(self)?;
|
self = dereferenced_const.print(self)?;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user