From 3da1d060ec2f0841d7b8d6e5772b667c1d0d7354 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Fri, 16 Dec 2022 11:17:25 +0800 Subject: [PATCH] Update test results. --- codegen/ui_tests/export_fn_cfg.stderr | 2 +- codegen/ui_tests/export_fn_path_attr.stderr | 2 +- codegen/ui_tests/export_mod_path_attr.stderr | 2 +- codegen/ui_tests/first_shared_ref.stderr | 2 +- codegen/ui_tests/return_mut_ref.stderr | 2 +- codegen/ui_tests/return_pointer.stderr | 2 +- codegen/ui_tests/return_shared_ref.stderr | 2 +- codegen/ui_tests/rhai_fn_duplicate_attr.stderr | 14 +++++++------- codegen/ui_tests/rhai_fn_getter_conflict.stderr | 2 +- codegen/ui_tests/rhai_fn_getter_multiple.stderr | 2 +- codegen/ui_tests/rhai_fn_getter_return.stderr | 2 +- codegen/ui_tests/rhai_fn_getter_signature.stderr | 2 +- .../ui_tests/rhai_fn_index_getter_return.stderr | 2 +- .../ui_tests/rhai_fn_index_getter_signature.stderr | 2 +- codegen/ui_tests/rhai_fn_path_attr.stderr | 2 +- codegen/ui_tests/rhai_fn_rename_collision.stderr | 4 ++-- .../rhai_fn_rename_collision_oneattr.stderr | 2 +- ...hai_fn_rename_collision_oneattr_multiple.stderr | 4 ++-- .../rhai_fn_rename_collision_with_itself.stderr | 4 ++-- .../ui_tests/rhai_fn_rename_to_index_getter.stderr | 2 +- .../ui_tests/rhai_fn_rename_to_index_setter.stderr | 2 +- .../ui_tests/rhai_fn_rename_to_prop_getter.stderr | 2 +- .../ui_tests/rhai_fn_rename_to_prop_setter.stderr | 2 +- .../ui_tests/rhai_fn_setter_index_signature.stderr | 2 +- codegen/ui_tests/rhai_fn_setter_multiple.stderr | 2 +- codegen/ui_tests/rhai_fn_setter_return.stderr | 2 +- codegen/ui_tests/rhai_fn_setter_signature.stderr | 2 +- codegen/ui_tests/rhai_mod_path_attr.stderr | 2 +- codegen/ui_tests/second_shared_ref.stderr | 2 +- 29 files changed, 38 insertions(+), 38 deletions(-) diff --git a/codegen/ui_tests/export_fn_cfg.stderr b/codegen/ui_tests/export_fn_cfg.stderr index 049a6224..4bbee427 100644 --- a/codegen/ui_tests/export_fn_cfg.stderr +++ b/codegen/ui_tests/export_fn_cfg.stderr @@ -2,7 +2,7 @@ error: `cfg` attributes are not allowed for `export_fn` --> ui_tests/export_fn_cfg.rs:9:1 | 9 | #[cfg(not(feature = "foo"))] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^ error[E0425]: cannot find function `test_fn` in this scope --> ui_tests/export_fn_cfg.rs:20:8 diff --git a/codegen/ui_tests/export_fn_path_attr.stderr b/codegen/ui_tests/export_fn_path_attr.stderr index b9d5ec7d..a7862aeb 100644 --- a/codegen/ui_tests/export_fn_path_attr.stderr +++ b/codegen/ui_tests/export_fn_path_attr.stderr @@ -2,7 +2,7 @@ error: expecting attribute name --> ui_tests/export_fn_path_attr.rs:9:13 | 9 | #[export_fn(rhai::name = "thing")] - | ^^^^^^^^^^ + | ^^^^ error[E0425]: cannot find function `test_fn` in this scope --> ui_tests/export_fn_path_attr.rs:19:8 diff --git a/codegen/ui_tests/export_mod_path_attr.stderr b/codegen/ui_tests/export_mod_path_attr.stderr index 2e0f95cb..8b4d3079 100644 --- a/codegen/ui_tests/export_mod_path_attr.stderr +++ b/codegen/ui_tests/export_mod_path_attr.stderr @@ -2,7 +2,7 @@ error: expecting attribute name --> ui_tests/export_mod_path_attr.rs:11:11 | 11 | #[rhai_fn(rhai::name = "thing")] - | ^^^^^^^^^^ + | ^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_mod` --> ui_tests/export_mod_path_attr.rs:22:8 diff --git a/codegen/ui_tests/first_shared_ref.stderr b/codegen/ui_tests/first_shared_ref.stderr index d82cd9f6..440d865a 100644 --- a/codegen/ui_tests/first_shared_ref.stderr +++ b/codegen/ui_tests/first_shared_ref.stderr @@ -2,7 +2,7 @@ error: references from Rhai in this position must be mutable --> ui_tests/first_shared_ref.rs:11:23 | 11 | pub fn test_fn(input: &NonClonable) -> bool { - | ^^^^^^^^^^^^ + | ^ error[E0425]: cannot find function `test_fn` in this scope --> ui_tests/first_shared_ref.rs:22:8 diff --git a/codegen/ui_tests/return_mut_ref.stderr b/codegen/ui_tests/return_mut_ref.stderr index f29c92f1..c1cc6faa 100644 --- a/codegen/ui_tests/return_mut_ref.stderr +++ b/codegen/ui_tests/return_mut_ref.stderr @@ -2,7 +2,7 @@ error: Rhai functions cannot return references --> ui_tests/return_mut_ref.rs:12:38 | 12 | pub fn test_fn(input: &mut Clonable) -> &mut bool { - | ^^^^^^^^^^^^ + | ^ error[E0425]: cannot find function `test_fn` in this scope --> ui_tests/return_mut_ref.rs:23:8 diff --git a/codegen/ui_tests/return_pointer.stderr b/codegen/ui_tests/return_pointer.stderr index cc596151..4405f82c 100644 --- a/codegen/ui_tests/return_pointer.stderr +++ b/codegen/ui_tests/return_pointer.stderr @@ -2,7 +2,7 @@ error: Rhai functions cannot return pointers --> ui_tests/return_pointer.rs:12:33 | 12 | pub fn test_fn(input: Clonable) -> *const str { - | ^^^^^^^^^^^^^ + | ^ error[E0425]: cannot find function `test_fn` in this scope --> ui_tests/return_pointer.rs:24:19 diff --git a/codegen/ui_tests/return_shared_ref.stderr b/codegen/ui_tests/return_shared_ref.stderr index 28418a2e..0a9be237 100644 --- a/codegen/ui_tests/return_shared_ref.stderr +++ b/codegen/ui_tests/return_shared_ref.stderr @@ -2,7 +2,7 @@ error: Rhai functions cannot return references --> ui_tests/return_shared_ref.rs:12:33 | 12 | pub fn test_fn(input: Clonable) -> &'static str { - | ^^^^^^^^^^^^^^^ + | ^ error[E0425]: cannot find function `test_fn` in this scope --> ui_tests/return_shared_ref.rs:23:20 diff --git a/codegen/ui_tests/rhai_fn_duplicate_attr.stderr b/codegen/ui_tests/rhai_fn_duplicate_attr.stderr index 8ae8d48d..c8101565 100644 --- a/codegen/ui_tests/rhai_fn_duplicate_attr.stderr +++ b/codegen/ui_tests/rhai_fn_duplicate_attr.stderr @@ -2,16 +2,16 @@ error: duplicated attribute 'rhai_fn' --> ui_tests/rhai_fn_duplicate_attr.rs:6:5 | 6 | #[rhai_fn(pure)] - | ^^^^^^^^^^^^^^^^ - -error[E0425]: cannot find value `n` in this scope - --> ui_tests/rhai_fn_duplicate_attr.rs:13:29 - | -13 | if test_module::test_fn(n) { - | ^ not found in this scope + | ^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_duplicate_attr.rs:13:8 | 13 | if test_module::test_fn(n) { | ^^^^^^^^^^^ use of undeclared crate or module `test_module` + +error[E0425]: cannot find value `n` in this scope + --> ui_tests/rhai_fn_duplicate_attr.rs:13:29 + | +13 | if test_module::test_fn(n) { + | ^ not found in this scope diff --git a/codegen/ui_tests/rhai_fn_getter_conflict.stderr b/codegen/ui_tests/rhai_fn_getter_conflict.stderr index 9f8bfc7c..2c2d8795 100644 --- a/codegen/ui_tests/rhai_fn_getter_conflict.stderr +++ b/codegen/ui_tests/rhai_fn_getter_conflict.stderr @@ -2,7 +2,7 @@ error: conflicting setter --> ui_tests/rhai_fn_getter_conflict.rs:12:42 | 12 | #[rhai_fn(name = "foo", get = "foo", set = "bar")] - | ^^^^^^^^^^^ + | ^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_getter_conflict.rs:23:8 diff --git a/codegen/ui_tests/rhai_fn_getter_multiple.stderr b/codegen/ui_tests/rhai_fn_getter_multiple.stderr index 4debe3fc..f6099f17 100644 --- a/codegen/ui_tests/rhai_fn_getter_multiple.stderr +++ b/codegen/ui_tests/rhai_fn_getter_multiple.stderr @@ -2,7 +2,7 @@ error: conflicting getter --> ui_tests/rhai_fn_getter_multiple.rs:12:42 | 12 | #[rhai_fn(name = "foo", get = "foo", get = "bar")] - | ^^^^^^^^^^^ + | ^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_getter_multiple.rs:23:8 diff --git a/codegen/ui_tests/rhai_fn_getter_return.stderr b/codegen/ui_tests/rhai_fn_getter_return.stderr index 6ddce29b..07964e33 100644 --- a/codegen/ui_tests/rhai_fn_getter_return.stderr +++ b/codegen/ui_tests/rhai_fn_getter_return.stderr @@ -2,7 +2,7 @@ error: property getter must return a value --> ui_tests/rhai_fn_getter_return.rs:13:9 | 13 | pub fn test_fn(input: &mut Point) { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_getter_return.rs:23:5 diff --git a/codegen/ui_tests/rhai_fn_getter_signature.stderr b/codegen/ui_tests/rhai_fn_getter_signature.stderr index 05aa2a6b..8b7e3b89 100644 --- a/codegen/ui_tests/rhai_fn_getter_signature.stderr +++ b/codegen/ui_tests/rhai_fn_getter_signature.stderr @@ -2,7 +2,7 @@ error: property getter requires exactly 1 parameter --> ui_tests/rhai_fn_getter_signature.rs:13:20 | 13 | pub fn test_fn(input: Point, value: bool) -> bool { - | ^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_getter_signature.rs:23:8 diff --git a/codegen/ui_tests/rhai_fn_index_getter_return.stderr b/codegen/ui_tests/rhai_fn_index_getter_return.stderr index 0010652f..35abddd6 100644 --- a/codegen/ui_tests/rhai_fn_index_getter_return.stderr +++ b/codegen/ui_tests/rhai_fn_index_getter_return.stderr @@ -2,7 +2,7 @@ error: index getter must return a value --> ui_tests/rhai_fn_index_getter_return.rs:13:9 | 13 | pub fn test_fn(input: &mut Point, i: f32) { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_index_getter_return.rs:23:8 diff --git a/codegen/ui_tests/rhai_fn_index_getter_signature.stderr b/codegen/ui_tests/rhai_fn_index_getter_signature.stderr index 3bc89d88..13788fef 100644 --- a/codegen/ui_tests/rhai_fn_index_getter_signature.stderr +++ b/codegen/ui_tests/rhai_fn_index_getter_signature.stderr @@ -2,7 +2,7 @@ error: index getter requires exactly 2 parameters --> ui_tests/rhai_fn_index_getter_signature.rs:13:20 | 13 | pub fn test_fn(input: Point) -> bool { - | ^^^^^^^^^^^^ + | ^^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_index_getter_signature.rs:23:8 diff --git a/codegen/ui_tests/rhai_fn_path_attr.stderr b/codegen/ui_tests/rhai_fn_path_attr.stderr index 0a25e87d..ef9c8768 100644 --- a/codegen/ui_tests/rhai_fn_path_attr.stderr +++ b/codegen/ui_tests/rhai_fn_path_attr.stderr @@ -2,7 +2,7 @@ error: expecting attribute name --> ui_tests/rhai_fn_path_attr.rs:11:11 | 11 | #[rhai_fn(rhai::name = "thing")] - | ^^^^^^^^^^ + | ^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_path_attr.rs:22:8 diff --git a/codegen/ui_tests/rhai_fn_rename_collision.stderr b/codegen/ui_tests/rhai_fn_rename_collision.stderr index 758e25a0..e865313c 100644 --- a/codegen/ui_tests/rhai_fn_rename_collision.stderr +++ b/codegen/ui_tests/rhai_fn_rename_collision.stderr @@ -2,13 +2,13 @@ error: duplicate Rhai signature for 'foo' --> ui_tests/rhai_fn_rename_collision.rs:17:15 | 17 | #[rhai_fn(name = "foo")] - | ^^^^^^^^^^^^ + | ^^^^ error: duplicated function renamed 'foo' --> ui_tests/rhai_fn_rename_collision.rs:12:15 | 12 | #[rhai_fn(name = "foo")] - | ^^^^^^^^^^^^ + | ^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_rename_collision.rs:28:8 diff --git a/codegen/ui_tests/rhai_fn_rename_collision_oneattr.stderr b/codegen/ui_tests/rhai_fn_rename_collision_oneattr.stderr index ff7d8cc7..b98c127b 100644 --- a/codegen/ui_tests/rhai_fn_rename_collision_oneattr.stderr +++ b/codegen/ui_tests/rhai_fn_rename_collision_oneattr.stderr @@ -8,7 +8,7 @@ error: duplicated function 'foo' --> ui_tests/rhai_fn_rename_collision_oneattr.rs:12:15 | 12 | #[rhai_fn(name = "foo")] - | ^^^^^^^^^^^^ + | ^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_rename_collision_oneattr.rs:27:8 diff --git a/codegen/ui_tests/rhai_fn_rename_collision_oneattr_multiple.stderr b/codegen/ui_tests/rhai_fn_rename_collision_oneattr_multiple.stderr index b36aee76..f19c017c 100644 --- a/codegen/ui_tests/rhai_fn_rename_collision_oneattr_multiple.stderr +++ b/codegen/ui_tests/rhai_fn_rename_collision_oneattr_multiple.stderr @@ -2,13 +2,13 @@ error: duplicate Rhai signature for 'bar' --> ui_tests/rhai_fn_rename_collision_oneattr_multiple.rs:17:15 | 17 | #[rhai_fn(get = "bar")] - | ^^^^^^^^^^^ + | ^^^ error: duplicated function renamed 'bar' --> ui_tests/rhai_fn_rename_collision_oneattr_multiple.rs:12:15 | 12 | #[rhai_fn(name = "foo", get = "bar")] - | ^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_rename_collision_oneattr_multiple.rs:25:8 diff --git a/codegen/ui_tests/rhai_fn_rename_collision_with_itself.stderr b/codegen/ui_tests/rhai_fn_rename_collision_with_itself.stderr index 430fd104..f39add02 100644 --- a/codegen/ui_tests/rhai_fn_rename_collision_with_itself.stderr +++ b/codegen/ui_tests/rhai_fn_rename_collision_with_itself.stderr @@ -2,13 +2,13 @@ error: duplicate Rhai signature for 'foo' --> ui_tests/rhai_fn_rename_collision_with_itself.rs:12:15 | 12 | #[rhai_fn(name = "foo", name = "bar", name = "foo")] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^ error: duplicated function renamed 'foo' --> ui_tests/rhai_fn_rename_collision_with_itself.rs:12:15 | 12 | #[rhai_fn(name = "foo", name = "bar", name = "foo")] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_rename_collision_with_itself.rs:20:8 diff --git a/codegen/ui_tests/rhai_fn_rename_to_index_getter.stderr b/codegen/ui_tests/rhai_fn_rename_to_index_getter.stderr index c702d3f0..d2693335 100644 --- a/codegen/ui_tests/rhai_fn_rename_to_index_getter.stderr +++ b/codegen/ui_tests/rhai_fn_rename_to_index_getter.stderr @@ -2,7 +2,7 @@ error: use attribute 'index_get' instead --> ui_tests/rhai_fn_rename_to_index_getter.rs:12:15 | 12 | #[rhai_fn(name = "index$get$")] - | ^^^^^^^^^^^^^^^^^^^ + | ^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_rename_to_index_getter.rs:23:8 diff --git a/codegen/ui_tests/rhai_fn_rename_to_index_setter.stderr b/codegen/ui_tests/rhai_fn_rename_to_index_setter.stderr index ee176580..4f2370ae 100644 --- a/codegen/ui_tests/rhai_fn_rename_to_index_setter.stderr +++ b/codegen/ui_tests/rhai_fn_rename_to_index_setter.stderr @@ -2,7 +2,7 @@ error: use attribute 'index_set' instead --> ui_tests/rhai_fn_rename_to_index_setter.rs:12:15 | 12 | #[rhai_fn(name = "index$set$")] - | ^^^^^^^^^^^^^^^^^^^ + | ^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_rename_to_index_setter.rs:23:8 diff --git a/codegen/ui_tests/rhai_fn_rename_to_prop_getter.stderr b/codegen/ui_tests/rhai_fn_rename_to_prop_getter.stderr index 7e3645ff..8b4ff8da 100644 --- a/codegen/ui_tests/rhai_fn_rename_to_prop_getter.stderr +++ b/codegen/ui_tests/rhai_fn_rename_to_prop_getter.stderr @@ -2,7 +2,7 @@ error: use attribute 'getter = "foo"' instead --> ui_tests/rhai_fn_rename_to_prop_getter.rs:12:15 | 12 | #[rhai_fn(name = "get$foo")] - | ^^^^^^^^^^^^^^^^ + | ^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_rename_to_prop_getter.rs:23:8 diff --git a/codegen/ui_tests/rhai_fn_rename_to_prop_setter.stderr b/codegen/ui_tests/rhai_fn_rename_to_prop_setter.stderr index 86a0743a..76498378 100644 --- a/codegen/ui_tests/rhai_fn_rename_to_prop_setter.stderr +++ b/codegen/ui_tests/rhai_fn_rename_to_prop_setter.stderr @@ -2,7 +2,7 @@ error: use attribute 'getter = "foo"' instead --> ui_tests/rhai_fn_rename_to_prop_setter.rs:12:15 | 12 | #[rhai_fn(name = "get$foo")] - | ^^^^^^^^^^^^^^^^ + | ^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_rename_to_prop_setter.rs:23:8 diff --git a/codegen/ui_tests/rhai_fn_setter_index_signature.stderr b/codegen/ui_tests/rhai_fn_setter_index_signature.stderr index ac8344b3..372070fb 100644 --- a/codegen/ui_tests/rhai_fn_setter_index_signature.stderr +++ b/codegen/ui_tests/rhai_fn_setter_index_signature.stderr @@ -2,7 +2,7 @@ error: index setter requires exactly 3 parameters --> ui_tests/rhai_fn_setter_index_signature.rs:13:20 | 13 | pub fn test_fn(input: Point) -> bool { - | ^^^^^^^^^^^^ + | ^^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_setter_index_signature.rs:23:8 diff --git a/codegen/ui_tests/rhai_fn_setter_multiple.stderr b/codegen/ui_tests/rhai_fn_setter_multiple.stderr index a13f7685..3de313cc 100644 --- a/codegen/ui_tests/rhai_fn_setter_multiple.stderr +++ b/codegen/ui_tests/rhai_fn_setter_multiple.stderr @@ -2,7 +2,7 @@ error: conflicting setter --> ui_tests/rhai_fn_setter_multiple.rs:12:42 | 12 | #[rhai_fn(name = "foo", set = "foo", set = "bar")] - | ^^^^^^^^^^^ + | ^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_setter_multiple.rs:23:8 diff --git a/codegen/ui_tests/rhai_fn_setter_return.stderr b/codegen/ui_tests/rhai_fn_setter_return.stderr index 6d534c92..c08f37f2 100644 --- a/codegen/ui_tests/rhai_fn_setter_return.stderr +++ b/codegen/ui_tests/rhai_fn_setter_return.stderr @@ -2,7 +2,7 @@ error: property setter cannot return any value --> ui_tests/rhai_fn_setter_return.rs:13:51 | 13 | pub fn test_fn(input: &mut Point, value: f32) -> bool { - | ^^^^^^^ + | ^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_setter_return.rs:24:8 diff --git a/codegen/ui_tests/rhai_fn_setter_signature.stderr b/codegen/ui_tests/rhai_fn_setter_signature.stderr index 87cb8d0c..6d345740 100644 --- a/codegen/ui_tests/rhai_fn_setter_signature.stderr +++ b/codegen/ui_tests/rhai_fn_setter_signature.stderr @@ -2,7 +2,7 @@ error: property setter requires exactly 2 parameters --> ui_tests/rhai_fn_setter_signature.rs:13:20 | 13 | pub fn test_fn(input: Point) -> bool { - | ^^^^^^^^^^^^ + | ^^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_fn_setter_signature.rs:23:8 diff --git a/codegen/ui_tests/rhai_mod_path_attr.stderr b/codegen/ui_tests/rhai_mod_path_attr.stderr index 51ac6709..0d9ea5a8 100644 --- a/codegen/ui_tests/rhai_mod_path_attr.stderr +++ b/codegen/ui_tests/rhai_mod_path_attr.stderr @@ -2,7 +2,7 @@ error: expecting attribute name --> ui_tests/rhai_mod_path_attr.rs:11:12 | 11 | #[rhai_mod(rhai::name = "thing")] - | ^^^^^^^^^^ + | ^^^^ error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> ui_tests/rhai_mod_path_attr.rs:24:8 diff --git a/codegen/ui_tests/second_shared_ref.stderr b/codegen/ui_tests/second_shared_ref.stderr index 63f4f9ab..814cd250 100644 --- a/codegen/ui_tests/second_shared_ref.stderr +++ b/codegen/ui_tests/second_shared_ref.stderr @@ -2,7 +2,7 @@ error: function parameters other than the first one cannot be passed by referenc --> ui_tests/second_shared_ref.rs:12:41 | 12 | pub fn test_fn(input: Clonable, factor: &bool) -> bool { - | ^^^^^ + | ^ error[E0425]: cannot find function `test_fn` in this scope --> ui_tests/second_shared_ref.rs:23:8