Skip to content

Commit 60c387a

Browse files
committed
Do not pprint as const.
1 parent 8759e5a commit 60c387a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_public/src/mir/pretty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ fn pretty_operand(operand: &Operand) -> String {
332332
format!("move {mv:?}")
333333
}
334334
Operand::Constant(cnst) => pretty_mir_const(&cnst.const_),
335-
Operand::RuntimeChecks(checks) => format!("const {checks:?}"),
335+
Operand::RuntimeChecks(checks) => format!("{checks:?}"),
336336
}
337337
}
338338

0 commit comments

Comments
 (0)