Skip to content

Commit d3cd406

Browse files
BoxyUwUlcnr
andauthored
nit
Co-authored-by: lcnr <rust@lcnr.de>
1 parent d30f56d commit d3cd406

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_symbol_mangling/src

1 file changed

+1
-0
lines changed

compiler/rustc_symbol_mangling/src/v0.rs

+1
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@ impl<'tcx> Printer<'tcx> for &mut SymbolMangler<'tcx> {
651651
.builtin_deref(true)
652652
.expect("tried to dereference on non-ptr type")
653653
.ty;
654+
// FIXME: add an assert that we only do this for valtrees.
654655
let dereferenced_const = self.tcx.mk_ct_from_kind(ct.kind(), pointee_ty);
655656
self = dereferenced_const.print(self)?;
656657
}

0 commit comments

Comments
 (0)