(diagnostic
  (schema slovo.diagnostic)
  (version 1)
  (severity error)
  (code RecursiveEnumPayloadStructUnsupported)
  (message "recursive enum payload/struct cycles are not supported (`Wrapper -> Node -> Wrapper`)")
  (file "<fixture>")
  (span
    (bytes 37 44)
    (range 5 9 5 16)
  )
  (hint "break the cycle by removing the struct payload edge or a direct enum/struct field edge")
  (related
    (span
      (file "<fixture>")
      (bytes 54 61)
      (range 7 7 7 14)
      (message "recursive enum declaration")
    )
  )
)
