mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
Rollup merge of #74873 - lcnr:const-print, r=eddyb
symbol mangling: use ty::print::Print for consts r? @eddyb
This commit is contained in:
commit
e6b0376e7b
@ -636,9 +636,7 @@ impl Printer<'tcx> for SymbolMangler<'tcx> {
|
||||
}
|
||||
GenericArgKind::Const(c) => {
|
||||
self.push("K");
|
||||
// FIXME(const_generics) implement `ty::print::Print` on `ty::Const`.
|
||||
// self = c.print(self)?;
|
||||
self = self.print_const(c)?;
|
||||
self = c.print(self)?;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user