]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-3080.stderr
Rollup merge of #60492 - acrrd:issues/54054_chain, r=SimonSapin
[rust.git] / src / test / ui / issues / issue-3080.stderr
index 44f16c708e0fada5ec2e74de167a5e4e72453a00..138d6df679fc4e9826e749bba20711f43c622d89 100644 (file)
@@ -1,7 +1,7 @@
 error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
   --> $DIR/issue-3080.rs:7:5
    |
-LL |     X(()).with(); //~ ERROR requires unsafe function or block
+LL |     X(()).with();
    |     ^^^^^^^^^^^^ call to unsafe function
    |
    = note: consult the function's documentation for information on how to avoid undefined behavior