]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/conflicting-repr-hints.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / conflicting-repr-hints.rs
index 8e9c11690a824a7c6618118d67fc2a1a8e012e3f..09dade20992ba15234337205d6345200214e9b1a 100644 (file)
@@ -11,11 +11,13 @@ enum B {
 }
 
 #[repr(C, u64)] //~ ERROR conflicting representation hints
+//~^ WARN this was previously accepted
 enum C {
     C,
 }
 
 #[repr(u32, u64)] //~ ERROR conflicting representation hints
+//~^ WARN this was previously accepted
 enum D {
     D,
 }