We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7378c25 commit c671252Copy full SHA for c671252
src/librustc_codegen_utils/symbol_names/legacy.rs
@@ -253,7 +253,7 @@ impl Printer<'tcx> for SymbolPrinter<'tcx> {
253
ct: &'tcx ty::Const<'tcx>,
254
) -> Result<Self::Const, Self::Error> {
255
// only print integers
256
- if let ConstValue::Scalar(Scalar::Raw { .. }) = ct.val {
+ if let ty::ConstKind::Value(ConstValue::Scalar(Scalar::Raw { .. })) = ct.val {
257
if ct.ty.is_integral() {
258
return self.pretty_print_const(ct);
259
}
0 commit comments