miri: fix ICE with symbolic alignment check on extern static
This commit is contained in:
parent
b11fbfbf35
commit
25635b9a96
8 changed files with 76 additions and 27 deletions
|
@ -992,10 +992,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
|||
// Complain about any other kind of error -- those are bad because we'd like to
|
||||
// report them in a way that shows *where* in the value the issue lies.
|
||||
Err(err) => {
|
||||
bug!(
|
||||
"Unexpected Undefined Behavior error during validation: {}",
|
||||
self.format_error(err)
|
||||
);
|
||||
bug!("Unexpected error during validation: {}", self.format_error(err));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue