We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b219a1 commit f10ab19Copy full SHA for f10ab19
tests/compile-fail/out_of_bounds_ptr_1.rs
@@ -1,4 +1,4 @@
1
-// error-pattern: must be in-bounds and live at offset 5, but is outside bounds of allocation
+// error-pattern: must be in-bounds at offset 5, but is outside bounds of allocation
2
fn main() {
3
let v = [0i8; 4];
4
let x = &v as *const i8;
0 commit comments