accept ReferencedConstant errors in Miri (can happen post-monomorphization)
This commit is contained in:
parent
52c7b8ec11
commit
5ea5e9fc2c
@ -88,6 +88,8 @@ pub fn report_error<'tcx, 'mir>(
|
||||
"Undefined Behavior",
|
||||
ResourceExhaustion(_) =>
|
||||
"resource exhaustion",
|
||||
InvalidProgram(InvalidProgramInfo::ReferencedConstant) =>
|
||||
"post-monomorphization error",
|
||||
_ =>
|
||||
bug!("This error should be impossible in Miri: {}", e),
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user