]> git.lizzy.rs Git - rust.git/blobdiff - tests/compile-fail/unaligned_pointers/reference_to_packed.rs
forgot to add alignment test loop in one test
[rust.git] / tests / compile-fail / unaligned_pointers / reference_to_packed.rs
index 998394c6c70cce11eeac1db27969b0ca3439b413..6fa95211853524915cf66cb27f1fe59d8d116c27 100644 (file)
@@ -16,6 +16,6 @@ fn main() {
             y: 99,
         };
         let p = unsafe { &foo.x };
-        let i = *p; //~ ERROR alignment 4 is required
+        let i = *p; //~ERROR alignment 4 is required
     }
 }