Skip to main content

luaur_analysis/methods/
internal_compiler_error_what.rs

1use crate::records::internal_compiler_error::InternalCompilerError;
2use core::ffi::c_char;
3
4impl InternalCompilerError {
5    #[inline]
6    pub fn what(&self) -> *const c_char {
7        self.message.as_ptr() as *const c_char
8    }
9}