const-eval interner: from-scratch rewrite using mutability information from provenance rather than types
This commit is contained in:
parent
a58ec8ff03
commit
2f1a8e2d7a
52 changed files with 1093 additions and 688 deletions
|
@ -416,14 +416,14 @@ pub enum ValidationErrorKind<'tcx> {
|
|||
PartialPointer,
|
||||
PtrToUninhabited { ptr_kind: PointerKind, ty: Ty<'tcx> },
|
||||
PtrToStatic { ptr_kind: PointerKind },
|
||||
PtrToMut { ptr_kind: PointerKind },
|
||||
MutableRefInConst,
|
||||
MutableRefToImmutable,
|
||||
UnsafeCellInImmutable,
|
||||
NullFnPtr,
|
||||
NeverVal,
|
||||
NullablePtrOutOfRange { range: WrappingRange, max_value: u128 },
|
||||
PtrOutOfRange { range: WrappingRange, max_value: u128 },
|
||||
OutOfRange { value: String, range: WrappingRange, max_value: u128 },
|
||||
UnsafeCell,
|
||||
UninhabitedVal { ty: Ty<'tcx> },
|
||||
InvalidEnumTag { value: String },
|
||||
UninhabitedEnumVariant,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue