fix
This commit is contained in:
parent
cc4dd6fc9f
commit
52830efdcc
@ -1513,6 +1513,10 @@ fn pretty_print_const_valtree(
|
||||
}
|
||||
return Ok(self);
|
||||
}
|
||||
(ty::ValTree::Leaf(leaf), ty::Ref(_, inner_ty, _)) => {
|
||||
p!(write("&"));
|
||||
return self.pretty_print_const_scalar_int(leaf, *inner_ty, print_ty);
|
||||
}
|
||||
(ty::ValTree::Leaf(leaf), _) => {
|
||||
return self.pretty_print_const_scalar_int(leaf, ty, print_ty);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user