Skip to content

Commit 284067c

Browse files
committed
rustup
1 parent db49339 commit 284067c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8ff785011be6625e32afceee3a08e5cff7470feb
1+
1edd389cc4c7b5be7a3dd4fe4b986f6017018e54

src/stacked_borrows.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,10 @@ impl GlobalState {
194194

195195
/// Error reporting
196196
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 {
197+
err_machine_stop!(TerminationInfo::ExperimentalUb {
199198
msg,
200199
url: format!("https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/stacked-borrows.md"),
201-
}))
200+
})
202201
}
203202

204203
// # Stacked Borrows Core Begin

0 commit comments

Comments
 (0)