Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
Co-authored-by: lcnr <rust@lcnr.de>
  • Loading branch information
BoxyUwU and lcnr authored Jul 4, 2023
1 parent d30f56d commit d3cd406
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_symbol_mangling/src/v0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
}
Expand Down

0 comments on commit d3cd406

Please sign in to comment.