We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
breakpoint
1 parent a77b720 commit a5c107bCopy full SHA for a5c107b
src/tools/miri/tests/fail/breakpoint.rs
@@ -1,7 +1,5 @@
1
#![feature(core_intrinsics)]
2
3
fn main() {
4
- unsafe {
5
- core::intrinsics::breakpoint() //~ ERROR: trace/breakpoint trap
6
- };
+ core::intrinsics::breakpoint(); //~ ERROR: trace/breakpoint trap
7
}
0 commit comments