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) => {
|
GenericArgKind::Const(c) => {
|
||||||
self.push("K");
|
self.push("K");
|
||||||
// FIXME(const_generics) implement `ty::print::Print` on `ty::Const`.
|
self = c.print(self)?;
|
||||||
// self = c.print(self)?;
|
|
||||||
self = self.print_const(c)?;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user