diff options
| author | DrMeepster <19316085+DrMeepster@users.noreply.github.com> | 2022-06-28 13:48:13 -0700 |
|---|---|---|
| committer | DrMeepster <19316085+DrMeepster@users.noreply.github.com> | 2022-06-28 13:48:13 -0700 |
| commit | 9039265c308fccf6599080db51e6db103ecaf5ad (patch) | |
| tree | 9f9324bf56c4b77aab43175b7b5fdc97a70b1fad | |
| parent | 9f9c31171888150912487d97dba19c6586007310 (diff) | |
| download | rust-9039265c308fccf6599080db51e6db103ecaf5ad.tar.gz rust-9039265c308fccf6599080db51e6db103ecaf5ad.zip | |
fix silly mistake
you should always run x.py check before pushing
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/validity.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/validity.rs b/compiler/rustc_const_eval/src/interpret/validity.rs index 702954884a0..905ab6cb578 100644 --- a/compiler/rustc_const_eval/src/interpret/validity.rs +++ b/compiler/rustc_const_eval/src/interpret/validity.rs @@ -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) => { |
