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 db49339 commit 284067cCopy full SHA for 284067c
rust-version
@@ -1 +1 @@
1
-8ff785011be6625e32afceee3a08e5cff7470feb
+1edd389cc4c7b5be7a3dd4fe4b986f6017018e54
src/stacked_borrows.rs
@@ -194,11 +194,10 @@ impl GlobalState {
194
195
/// Error reporting
196
fn err_sb_ub(msg: String) -> InterpError<'static> {
197
- // FIXME: use `err_machine_stop!` macro, once that exists.
198
- InterpError::MachineStop(Box::new(TerminationInfo::ExperimentalUb {
+ err_machine_stop!(TerminationInfo::ExperimentalUb {
199
msg,
200
url: format!("https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/stacked-borrows.md"),
201
- }))
+ })
202
}
203
204
// # Stacked Borrows Core Begin
0 commit comments