mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
6 lines
207 B
Plaintext
6 lines
207 B
Plaintext
error: field setter must take `&[mut] self`
|
|
--> tests/compile/userdata_setter_ref_self.rs:9:5
|
|
|
|
|
9 | fn set_x(self, val: u32) -> mlua::Result<()> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|