slovo/tests/unsupported-struct-field-type.diag
2026-05-22 08:38:43 +02:00

15 lines
647 B
Plaintext

(diagnostic
(schema slovo.diagnostic)
(version 1)
(severity error)
(code UnsupportedStructFieldType)
(message "released struct fields support direct `i32`, `i64`, `f64`, `bool`, `string`, direct fixed arrays of those element families, direct enum fields, current concrete vec/option/result fields, and current non-recursive struct fields")
(file "<fixture>")
(span
(bytes 35 39)
(range 5 6 5 10)
)
(expected "direct `i32`, `i64`, `f64`, `bool`, `string`, direct fixed array of those element families, direct enum field, current concrete vec/option/result field, or current non-recursive struct field")
(found "unit")
)