We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9290b17 commit 93ab53fCopy full SHA for 93ab53f
crates/ptr-union/tests/clone_unaligned.rs
@@ -56,7 +56,7 @@ type Union = Union8<
56
57
#[test]
58
#[should_panic = "but the cloned pointer wasn't sufficiently aligned"]
59
-fn test() {
+fn test_clone_unaligned() {
60
let bx = MyBox::new();
61
// this can't fail since the first `MyBox` is created at address 8, which is aligned to 8 bytes
62
let x = Union::new_a(bx).unwrap();
0 commit comments