mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-23 13:24:07 +00:00
No Encode/Decode for Nat
This commit is contained in:
parent
99050956d3
commit
572a666780
5 changed files with 131 additions and 14 deletions
|
@ -87,12 +87,19 @@ pub enum NotDerivableContext {
|
|||
Function,
|
||||
UnboundVar,
|
||||
Opaque(Symbol),
|
||||
Encode(NotDerivableEncode),
|
||||
Decode(NotDerivableDecode),
|
||||
Eq(NotDerivableEq),
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Eq, Debug, Clone)]
|
||||
pub enum NotDerivableEncode {
|
||||
Nat,
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Eq, Debug, Clone)]
|
||||
pub enum NotDerivableDecode {
|
||||
Nat,
|
||||
OptionalRecordField(Lowercase),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue