Separate miri/ctfe unsupported operations

This commit is contained in:
Oliver Scherer 2020-04-16 17:32:48 +02:00
parent bf459752d4
commit 582d52f0bd

View File

@ -451,6 +451,8 @@ pub enum UnsupportedOpInfo {
NoMirFor(DefId),
/// Encountered a pointer where we needed raw bytes.
ReadPointerAsBytes,
// The variants below are only reachable from CTFE/const prop, miri will never emit them.
/// Encountered raw bytes where we needed a pointer.
ReadBytesAsPointer,
}