High level bindings to Lua 5.5/5.4/5.3/5.2/5.1 (including LuaJIT) and Luau
with async/await features and support of writing native Lua modules in Rust.
error: field function must not take `self`
--> tests/compile/userdata_static_with_self.rs:9:5
|
9 | fn get_x(&self) -> mlua::Result<u32> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^