1
Fork 0

fix silly mistake

you should always run x.py check before pushing
This commit is contained in:
DrMeepster 2022-06-28 13:48:13 -07:00
parent 9f9c311718
commit 9039265c30

View file

@ -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) => {