Fix codegen test.
This commit is contained in:
parent
75b8bf73df
commit
b3bcd7bf79
@ -2,10 +2,10 @@ error[E0308]: mismatched types
|
||||
--> $DIR/export_mod_raw_return.rs:12:8
|
||||
|
|
||||
9 | #[export_module]
|
||||
| ---------------- expected `Result<rhai::Dynamic, std::boxed::Box<rhai::EvalAltResult>>` because of return type
|
||||
| ---------------- expected `Result<rhai::Dynamic, std::boxed::Box<EvalAltResult>>` because of return type
|
||||
...
|
||||
12 | pub fn test_fn(input: Point) -> bool {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `bool`
|
||||
|
|
||||
= note: expected enum `Result<rhai::Dynamic, std::boxed::Box<rhai::EvalAltResult>>`
|
||||
= note: expected enum `Result<rhai::Dynamic, std::boxed::Box<EvalAltResult>>`
|
||||
found type `bool`
|
||||
|
Loading…
Reference in New Issue
Block a user