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

22 lines
470 B
Plaintext

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