(diagnostic
  (schema slovo.diagnostic)
  (version 1)
  (severity error)
  (code UnsupportedOptionPayloadType)
  (message "first-pass options support only `i32`, `i64`, `u32`, `u64`, `f64`, `bool`, and `string` payloads")
  (file "<fixture>")
  (span
    (bytes 144 149)
    (range 8 35 8 40)
  )
  (expected "i32, i64, u32, u64, f64, bool, or string")
  (found "Color")
)

(diagnostic
  (schema slovo.diagnostic)
  (version 1)
  (severity error)
  (code UnsupportedEnumContainer)
  (message "enum values in option/result containers are not supported")
  (file "<fixture>")
  (span
    (bytes 117 122)
    (range 8 8 8 13)
  )
  (hint "store enum values directly in immutable locals")
)
