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

22 lines
476 B
Plaintext

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