> With this change, would you be allowed to write this? > > alt fail foo { > 1 {...} > 2 {...} > }
We'll have to rig the parser to not go screwy on 'alt fail { ... }' by checking whether there is a non-brace token following the fail/cont and only interpreting it as an alt modifier when there is, but yes, you'll be able to write this. _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev