2020-08-20 06:12:39 +02:00
|
|
|
error: duplicate Rhai signature for 'foo'
|
2020-09-26 06:28:28 +02:00
|
|
|
--> $DIR/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'
|
2020-09-26 06:28:28 +02:00
|
|
|
--> $DIR/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")]
|
|
|
|
| ^^^^^^^^^^^^
|
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`
|
2020-09-26 06:28:28 +02:00
|
|
|
--> $DIR/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`
|