]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/issue-52432.rs
Rollup merge of #70134 - hermitcore:osstrext, r=dtolnay
[rust.git] / src / test / ui / consts / issue-52432.rs
index 2d4c939f47d795369a55f4c89dc68bc0d1263e77..ded79458e637f12167d27608a15c1ea7e83d5ce0 100644 (file)
@@ -6,5 +6,4 @@ fn main() {
     //~| ERROR: type annotations needed
     [(); &(static || {}) as *const _ as usize];
     //~^ ERROR: closures cannot be static
-    //~| ERROR: evaluation of constant value failed
 }