]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/const-eval/union-ice.stderr
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / ui / consts / const-eval / union-ice.stderr
index ec51802681e0df40295b55d80407b9800539969f..4484dd6a14740f12cf06feb11faa1b2361e96e3d 100644 (file)
@@ -13,7 +13,7 @@ LL | / const FIELD_PATH: Struct = Struct { //~ ERROR this constant likely exhibi
 LL | |     a: 42,
 LL | |     b: unsafe { UNION.field3 },
 LL | | };
-   | |__^ type validation failed: encountered undefined bytes at .b
+   | |__^ type validation failed: encountered uninitialized bytes at .b, but expected initialized plain bits
    |
    = note: The rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rust compiler repository if you believe it should not be considered undefined behavior