]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/dangling_raw_ptr.stderr
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / test / ui / consts / dangling_raw_ptr.stderr
index 4748be37dffcfe2332ee771522dfff66ba9155b2..4d4c2876c4598afad2d7ddd75fa4853c1ca724c1 100644 (file)
@@ -5,7 +5,7 @@ LL | / const FOO: *const u32 = {
 LL | |     let x = 42;
 LL | |     &x
 LL | | };
-   | |__^ type validation failed: encountered dangling pointer in final constant
+   | |__^ encountered dangling pointer in final constant
    |
    = note: `#[deny(const_err)]` on by default