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 9eb4e00 commit 1f8cb47Copy full SHA for 1f8cb47
tests/compile-fail/ptr_offset_0_plus_0.rs
@@ -1,4 +1,4 @@
1
-// error-pattern: outside bounds of allocation
+// error-pattern: invalid use of NULL pointer
2
3
fn main() {
4
let x = 0 as *mut i32;
0 commit comments