We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d481e08 commit ff3b382Copy full SHA for ff3b382
src/diagnostics.rs
@@ -92,6 +92,8 @@ pub fn report_error<'tcx, 'mir>(
92
let helps = match e.kind {
93
Unsupported(UnsupportedOpInfo::NoMirFor(..)) =>
94
vec![format!("make sure to use a Miri sysroot, which you can prepare with `cargo miri setup`")],
95
+ Unsupported(UnsupportedOpInfo::ReadBytesAsPointer) =>
96
+ panic!("`ReadBytesAsPointer` cannot be raised by Miri"),
97
Unsupported(_) =>
98
vec![format!("this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support")],
99
UndefinedBehavior(UndefinedBehaviorInfo::AlignmentCheckFailed { .. }) =>
0 commit comments