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.
dangling_pointers_from_locals
1 parent 5825740 commit e9cea2fCopy full SHA for e9cea2f
tests/fail/validity/dangling_ref3.rs
@@ -1,5 +1,8 @@
1
// Make sure we catch this even without Stacked Borrows
2
//@compile-flags: -Zmiri-disable-stacked-borrows
3
+
4
+#![allow(dangling_pointers_from_locals)]
5
6
use std::mem;
7
8
fn dangling() -> *const u8 {
0 commit comments