This is a known bug: https://github.com/mozilla/rust/issues/3779

The fix, which you probably realized, is to change Option<Foo> to
Option<~Foo> or Option<@Foo>.

Cheers,
Tim




-- 
Tim Chevalier * http://catamorphism.org/ * Often in error, never in doubt
"Being queer is not about a right to privacy; it is about the freedom
to be public, to just be who we are." -- anonymous, June 1990
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to