diff options
| author | Ralf Jung <post@ralfj.de> | 2024-02-05 21:48:58 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-02-06 10:17:42 +0100 |
| commit | 25635b9a96ebbbd87bbbfb1d7c31004651179f2a (patch) | |
| tree | cef18744d167c7cf93e10c600fed52d81a3194ec /compiler/rustc_const_eval/src/interpret | |
| parent | b11fbfbf351b94c7eecf9e6749a4544a6d4717fa (diff) | |
| download | rust-25635b9a96ebbbd87bbbfb1d7c31004651179f2a.tar.gz rust-25635b9a96ebbbd87bbbfb1d7c31004651179f2a.zip | |
miri: fix ICE with symbolic alignment check on extern static
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/validity.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/validity.rs b/compiler/rustc_const_eval/src/interpret/validity.rs index b5cd3259520..4dbea54e224 100644 --- a/compiler/rustc_const_eval/src/interpret/validity.rs +++ b/compiler/rustc_const_eval/src/interpret/validity.rs @@ -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)); } } } |
