rhai/codegen/ui_tests/rhai_fn_rename_collision_with_itself.stderr

18 lines
705 B
Plaintext
Raw Normal View History

2020-09-05 10:46:24 +08: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 11:23:12 +08:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2020-09-05 10:46:24 +08: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 11:23:12 +08:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2020-09-05 10:46:24 +08:00
2020-09-11 22:45:15 +08:00
error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
2020-09-05 10:46:24 +08:00
--> $DIR/rhai_fn_rename_collision_with_itself.rs:20:8
|
20 | if test_module::test_fn(n) {
2020-09-11 22:45:15 +08:00
| ^^^^^^^^^^^ use of undeclared crate or module `test_module`