2020-09-05 04:46:24 +02:00
|
|
|
error: duplicate Rhai signature for 'foo'
|
|
|
|
--> $DIR/rhai_fn_rename_collision_with_itself.rs:12:15
|
|
|
|
|
|
|
|
|
12 | #[rhai_fn(name = "foo", name = "bar", name = "foo")]
|
2020-09-06 05:23:12 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-09-05 04:46:24 +02:00
|
|
|
|
|
|
|
error: duplicated function renamed 'foo'
|
|
|
|
--> $DIR/rhai_fn_rename_collision_with_itself.rs:12:15
|
|
|
|
|
|
|
|
|
12 | #[rhai_fn(name = "foo", name = "bar", name = "foo")]
|
2020-09-06 05:23:12 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-09-05 04:46:24 +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-05 04:46:24 +02:00
|
|
|
--> $DIR/rhai_fn_rename_collision_with_itself.rs:20:8
|
|
|
|
|
|
|
|
|
20 | if test_module::test_fn(n) {
|
2020-09-11 16:45:15 +02:00
|
|
|
| ^^^^^^^^^^^ use of undeclared crate or module `test_module`
|