1
Fork 0

support non-null pointer niches in CTFE

This commit is contained in:
Moulins 2023-06-25 19:32:40 +02:00
parent 3c05276866
commit 76c49aead6
8 changed files with 100 additions and 65 deletions

View file

@ -388,7 +388,6 @@ pub enum ValidationErrorKind<'tcx> {
MutableRefInConst,
NullFnPtr,
NeverVal,
NullablePtrOutOfRange { range: WrappingRange, max_value: u128 },
PtrOutOfRange { range: WrappingRange, max_value: u128 },
OutOfRange { value: String, range: WrappingRange, max_value: u128 },
UnsafeCell,