You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0308]: mismatched types
--> crates/konfigkoll_script/src/plugins/process.rs:176:17
|
176 | rune::vm_panic!("already completed");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<ChildStdout>`, found `VmResult<_>`
|
= note: expected enum `std::option::Option<plugins::process::ChildStdout>`
found enum `VmResult<_>`
= note: this error originates in the macro `rune::vm_panic` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0308]: mismatched types
--> crates/konfigkoll_script/src/plugins/process.rs:191:17
|
191 | rune::vm_panic!("already completed");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<ChildStderr>`, found `VmResult<_>`
|
= note: expected enum `std::option::Option<plugins::process::ChildStderr>`
found enum `VmResult<_>`
= note: this error originates in the macro `rune::vm_panic` (in Nightly builds, run with -Z macro-backtrace for more info)
For more information about this error, try `rustc --explain E0308`.
error: could not compile `konfigkoll_script` (lib) due to 4 previous errors
Removing the vm_result and the vm_panic makes it compile.
This is the latest on the 0.13 branch
The text was updated successfully, but these errors were encountered:
VorpalBlade
changed the title
Can not use vm_result on function taking
Can not use vm_result on function taking &mut selfJul 20, 2024
The following function:
gives the following error:
Removing the
vm_result
and thevm_panic
makes it compile.This is the latest on the 0.13 branch
The text was updated successfully, but these errors were encountered: