interpret: remove incomplete protection against invalid where clauses

This commit is contained in:
Ralf Jung 2023-08-08 10:31:44 +02:00
parent 6742e2b185
commit a7132bf387
7 changed files with 16 additions and 84 deletions

View file

@ -184,8 +184,6 @@ pub enum InvalidProgramInfo<'tcx> {
/// (which unfortunately typeck does not reject).
/// Not using `FnAbiError` as that contains a nested `LayoutError`.
FnAbiAdjustForForeignAbi(call::AdjustForForeignAbiError),
/// SizeOf of unsized type was requested.
SizeOfUnsizedType(Ty<'tcx>),
/// We are runnning into a nonsense situation due to ConstProp violating our invariants.
ConstPropNonsense,
}