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 efa68d0 commit 96491a9Copy full SHA for 96491a9
src/tools/miri/tests/fail/const-ub-checks.rs
@@ -1,4 +1,3 @@
1
-
2
const UNALIGNED_READ: () = unsafe {
3
let x = &[0u8; 4];
4
let ptr = x.as_ptr().cast::<u32>();
0 commit comments