2020-08-20 06:12:39 +02:00
|
|
|
error: duplicate Rhai signature for 'foo'
|
2021-10-12 14:57:47 +02:00
|
|
|
--> ui_tests/rhai_fn_rename_collision_oneattr.rs:17:12
|
2020-08-20 06:12:39 +02:00
|
|
|
|
|
2020-09-26 06:17:16 +02:00
|
|
|
17 | pub fn foo(input: Point) -> bool {
|
|
|
|
| ^^^
|
2020-08-20 06:12:39 +02:00
|
|
|
|
|
|
|
error: duplicated function 'foo'
|
2021-10-12 14:57:47 +02:00
|
|
|
--> ui_tests/rhai_fn_rename_collision_oneattr.rs:12:15
|
2020-08-20 06:12:39 +02:00
|
|
|
|
|
2020-09-26 06:17:16 +02:00
|
|
|
12 | #[rhai_fn(name = "foo")]
|
2022-12-16 04:17:25 +01:00
|
|
|
| ^^^^
|
2020-08-20 06:12:39 +02:00
|
|
|
|
2020-09-11 16:45:15 +02:00
|
|
|
error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
|
2021-10-12 14:57:47 +02:00
|
|
|
--> ui_tests/rhai_fn_rename_collision_oneattr.rs:27:8
|
2020-08-20 06:12:39 +02:00
|
|
|
|
|
|
|
|
27 | if test_module::test_fn(n) {
|
2020-09-11 16:45:15 +02:00
|
|
|
| ^^^^^^^^^^^ use of undeclared crate or module `test_module`
|