Fix ui tests.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
error: return_raw functions must return Result<T>
|
||||
error: return_raw functions must return Result<T, Box<EvalAltResult>>
|
||||
--> $DIR/export_fn_raw_noreturn.rs:10:5
|
||||
|
|
||||
10 | pub fn test_fn(input: &mut Point) {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
error: return_raw functions must return Result<T>
|
||||
error: return_raw functions must return Result<T, Box<EvalAltResult>>
|
||||
--> $DIR/export_mod_raw_noreturn.rs:12:5
|
||||
|
|
||||
12 | pub fn test_fn(input: &mut Point) {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
error: Rhai functions cannot return pointers
|
||||
error: Rhai functions cannot return references
|
||||
--> $DIR/return_shared_ref.rs:12:33
|
||||
|
|
||||
12 | pub fn test_fn(input: Clonable) -> &'static str {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
error: property setter must return no value
|
||||
error: property setter cannot return any value
|
||||
--> $DIR/rhai_fn_setter_return.rs:13:9
|
||||
|
|
||||
13 | pub fn test_fn(input: &mut Point, value: f32) -> bool {
|
||||
|
Reference in New Issue
Block a user