14 lines
427 B
Plaintext
14 lines
427 B
Plaintext
(diagnostic
|
|
(schema slovo.diagnostic)
|
|
(version 1)
|
|
(severity error)
|
|
(code UnsupportedEnumEquality)
|
|
(message "enum equality is supported only for payloadless enums and enums whose payload type is direct `i32`, `i64`, `u32`, `u64`, `f64`, `bool`, or `string`")
|
|
(file "<fixture>")
|
|
(span
|
|
(bytes 121 213)
|
|
(range 13 3 14 48)
|
|
)
|
|
(hint "match the enum and compare fields after extracting the struct payload")
|
|
)
|