interpret: remove incomplete protection against invalid where clauses
This commit is contained in:
parent
6742e2b185
commit
a7132bf387
7 changed files with 16 additions and 84 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue