]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-28776.stderr
Introduce the (WIP) THIR unsafety checker
[rust.git] / src / test / ui / issues / issue-28776.stderr
index aef0d9cd1d8c6bba1267a8490c8d56e38a2acf09..7faac88e26a237d3a76bc7889fd88dfbf029b65f 100644 (file)
@@ -1,5 +1,5 @@
 error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
-  --> $DIR/issue-28776.rs:14:5
+  --> $DIR/issue-28776.rs:4:5
    |
 LL |     (&ptr::write)(1 as *mut _, 42);
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function