Rename in librustc_codegen_utils.
This commit is contained in:
parent
7378c25f25
commit
c67125260b
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ impl Printer<'tcx> for SymbolPrinter<'tcx> {
|
|||
ct: &'tcx ty::Const<'tcx>,
|
||||
) -> Result<Self::Const, Self::Error> {
|
||||
// only print integers
|
||||
if let ConstValue::Scalar(Scalar::Raw { .. }) = ct.val {
|
||||
if let ty::ConstKind::Value(ConstValue::Scalar(Scalar::Raw { .. })) = ct.val {
|
||||
if ct.ty.is_integral() {
|
||||
return self.pretty_print_const(ct);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue