Skip to content

Commit

Permalink
fix silly mistake
Browse files Browse the repository at this point in the history
you should always run x.py check before pushing
  • Loading branch information
beepster4096 committed Jun 28, 2022
1 parent 9f9c311 commit 9039265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_const_eval/src/interpret/validity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ impl<'rt, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> ValidityVisitor<'rt, 'mir, '
self.check_safe_pointer(&ptr, "box")?;

// Check other fields of Box
self.walk_value(op)?;
self.walk_value(value)?;
Ok(true)
}
ty::FnPtr(_sig) => {
Expand Down

0 comments on commit 9039265

Please sign in to comment.