File tree 1 file changed +2
-4
lines changed
src/librustc_middle/mir/interpret 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -439,9 +439,6 @@ impl fmt::Debug for UndefinedBehaviorInfo {
439
439
/// to do according to the Rust spec, but due to limitations in the interpreter, the
440
440
/// operation could not be carried out. These limitations can differ between CTFE and the
441
441
/// Miri engine, e.g., CTFE does not support dereferencing pointers at integral addresses.
442
- ///
443
- /// Currently, we also use this as fall-back error kind for errors that have not been
444
- /// categorized yet.
445
442
pub enum UnsupportedOpInfo {
446
443
/// Free-form case. Only for errors that are never caught!
447
444
Unsupported ( String ) ,
@@ -451,8 +448,9 @@ pub enum UnsupportedOpInfo {
451
448
NoMirFor ( DefId ) ,
452
449
/// Encountered a pointer where we needed raw bytes.
453
450
ReadPointerAsBytes ,
454
-
451
+ //
455
452
// The variants below are only reachable from CTFE/const prop, miri will never emit them.
453
+ //
456
454
/// Encountered raw bytes where we needed a pointer.
457
455
ReadBytesAsPointer ,
458
456
}
You can’t perform that action at this time.
0 commit comments