fix silly mistake
you should always run x.py check before pushing
This commit is contained in:
parent
9f9c311718
commit
9039265c30
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ impl<'rt, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> ValidityVisitor<'rt, 'mir, '
|
||||||
self.check_safe_pointer(&ptr, "box")?;
|
self.check_safe_pointer(&ptr, "box")?;
|
||||||
|
|
||||||
// Check other fields of Box
|
// Check other fields of Box
|
||||||
self.walk_value(op)?;
|
self.walk_value(value)?;
|
||||||
Ok(true)
|
Ok(true)
|
||||||
}
|
}
|
||||||
ty::FnPtr(_sig) => {
|
ty::FnPtr(_sig) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue