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 9e44509 commit ecf452cCopy full SHA for ecf452c
tests/run-pass/union.rs
@@ -62,7 +62,7 @@ fn c() {
62
unsafe {
63
match v {
64
Value { tag: Tag::I, u: U { i: 0 } } => true,
65
- Value { tag: Tag::F, u: U { f: 0.0 } } => true,
+ Value { tag: Tag::F, u: U { f } } if f == 0.0 => true,
66
_ => false,
67
}
68
0 commit comments