On 7/26/11 12:05 PM, Tim Chevalier wrote:
IMHO, a non-exhaustive alt is always an error. If some cases are
"impossible", a static requirement for the programmer to declare their
intentions explicitly by inserting a fail (hopefully with an
informative error message) can save a lot of time later.

I prefer warnings, in the interests of quick-and-dirty hacks.

Patrick


_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to