Skip to content

Commit 5a49578

Browse files
Use debug to print illegal operations in a const context
1 parent 413a129 commit 5a49578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/transform/check_consts/validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ impl Validator<'a, 'mir, 'tcx> {
205205
where
206206
O: NonConstOp,
207207
{
208-
trace!("check_op: op={:?}", op);
208+
debug!("check_op: op={:?}", op);
209209

210210
if op.is_allowed_in_item(self) {
211211
return;

0 commit comments

Comments
 (0)