mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Check in some more work
This commit is contained in:
parent
6adb88beee
commit
ac752adc7c
6 changed files with 78 additions and 22 deletions
|
@ -92,9 +92,16 @@ pub enum Error {
|
|||
overall_region: Region,
|
||||
branch_region: Region,
|
||||
index: HumanIndex,
|
||||
reason: RedundantReason,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum RedundantReason {
|
||||
PreviouslyCovered,
|
||||
Uninhabited,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub enum Context {
|
||||
BadArg,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue