We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5c81e0 commit ff5fcacCopy full SHA for ff5fcac
src/librustc/mir/interpret/mod.rs
@@ -90,6 +90,13 @@ macro_rules! throw_exhaust {
90
($($tt:tt)*) => { return Err(err_exhaust!($($tt)*).into()) };
91
}
92
93
+#[macro_export]
94
+macro_rules! throw_machine_stop {
95
+ ($($tt:tt)*) => {
96
+ return Err($crate::mir::interpret::InterpError::MachineStop(Box::new($($tt)*)).into())
97
+ };
98
+}
99
+
100
mod error;
101
mod value;
102
mod allocation;
0 commit comments