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 ab0d48f commit 69c5ba9Copy full SHA for 69c5ba9
src/transmute.rs
@@ -33,6 +33,7 @@ pub fn transmute<A, B>(obj: A) -> B {
33
// Note that `data` is shared between `DummyEnum::A` and `DummyEnum::B`.
34
// This should hopefully be more reliable than spamming the stack with a value and hoping the memory
35
// is placed correctly by the compiler.
36
+ #[allow(dead_code)]
37
enum DummyEnum<A, B> {
38
A(Option<Box<A>>),
39
B(Option<Box<B>>),
0 commit comments