luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::records::internal_compiler_error::InternalCompilerError;
use core::ffi::c_char;

impl InternalCompilerError {
    #[inline]
    pub fn what(&self) -> *const c_char {
        // NUL-terminated (see `c_message`): `message.as_ptr()` would over-read.
        self.c_message.as_ptr()
    }
}