mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Remove Nat from Hash, Inspect, Encode, Decode
This commit is contained in:
parent
5b2998966b
commit
502b0fddf2
10 changed files with 22 additions and 178 deletions
|
@ -121,22 +121,10 @@ pub enum NotDerivableContext {
|
|||
Function,
|
||||
UnboundVar,
|
||||
Opaque(Symbol),
|
||||
Encode(NotDerivableEncode),
|
||||
Decode(NotDerivableDecode),
|
||||
DecodeOptionalRecordField(Lowercase),
|
||||
Eq(NotDerivableEq),
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Eq, Debug, Clone)]
|
||||
pub enum NotDerivableEncode {
|
||||
Nat,
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Eq, Debug, Clone)]
|
||||
pub enum NotDerivableDecode {
|
||||
Nat,
|
||||
OptionalRecordField(Lowercase),
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Eq, Debug, Clone)]
|
||||
pub enum NotDerivableEq {
|
||||
FloatingPoint,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue