mozilla/rust — Issue #1720: Check exhaustiveness for int, str, ... -typed alts
Author: catamorphism
Created: 2012-01-31 18:23:04+00:00
State: open
Labels: easy, middle, unassigned

The patch I just pushed only handles exhaustiveness for alts on enum-typed data. alts on ints or strings or such can still be non-exhaustive. Fix this. (Obviously this would require inserting an '_' case most of the time.)