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 b24cba8 commit 5a849eaCopy full SHA for 5a849ea
src/test/run-pass/select-macro.rs
@@ -26,9 +26,8 @@ macro_rules! select_if (
26
} => {
27
if $index == $count {
28
match move pipes::try_recv($port) {
29
- $(Some($message($($(ref $x,)+)* ref next)) => {
30
- // FIXME (#2329) we really want move out of enum here.
31
- let $next = unsafe { let x <- *ptr::addr_of(&(*next)); x };
+ $(Some($message($($(ref $x,)+)* move next)) => {
+ let $next = next;
32
$e
33
})+
34
_ => fail
0 commit comments