I suspect this is a borrowck bug (or at least shortcoming), but I don't know the borrowck rules well enough to say for sure. I suggest filing this code as an issue.
Cheers, Tim -- Tim Chevalier * http://catamorphism.org/ * Often in error, never in doubt "We know there'd hardly be no one in prison / If rights to food, clothes, and shelter were given." -- Boots Riley _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev