nit
Co-authored-by: lcnr <rust@lcnr.de>
This commit is contained in:
parent
d30f56dbf2
commit
d3cd406519
1 changed files with 1 additions and 0 deletions
|
@ -651,6 +651,7 @@ impl<'tcx> Printer<'tcx> for &mut SymbolMangler<'tcx> {
|
|||
.builtin_deref(true)
|
||||
.expect("tried to dereference on non-ptr type")
|
||||
.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);
|
||||
self = dereferenced_const.print(self)?;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue