mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
14 lines
438 B
Plaintext
14 lines
438 B
Plaintext
error: async field setter is not supported
|
|
--> tests/compile/userdata_setter_async.rs:9:5
|
|
|
|
|
9 | async fn set_value(&mut self, val: u64) -> Result<()> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `mlua::Result`
|
|
--> tests/compile/userdata_setter_async.rs:1:5
|
|
|
|
|
1 | use mlua::Result;
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|