slovo/tests/unsupported-unsafe-ptr-add.diag
2026-05-22 08:38:43 +02:00

22 lines
472 B
Plaintext

(diagnostic
(schema slovo.diagnostic)
(version 1)
(severity error)
(code UnsupportedUnsafeOperation)
(message "unsafe operation `ptr_add` is outside the v1.6 unsafe contract")
(file "<fixture>")
(span
(bytes 49 62)
(range 6 5 6 18)
)
(hint "raw memory operations are not supported by v1.6 unsafe blocks")
(related
(span
(file "<fixture>")
(bytes 50 57)
(range 6 6 6 13)
(message "unsafe operation head")
)
)
)