]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/issue-78655.rs
fix tests, add new tests checking borrowck CFTE ICE
[rust.git] / src / test / ui / consts / issue-78655.rs
index 066764bc46fc4ca158168c9006c4cac16d495b8f..b85e612992549fdd3f78eded1cb9fc4dca92b83d 100644 (file)
@@ -1,4 +1,4 @@
-const FOO: *const u32 = { //~ ERROR encountered dangling pointer in final constant
+const FOO: *const u32 = {
     let x;
     &x //~ ERROR borrow of possibly-uninitialized variable: `x`
 };