rhai/codegen/ui_tests/rhai_fn_rename_collision_with_itself.stderr

18 lines
717 B
Plaintext
Raw Normal View History

2020-09-05 10:46:24 +08:00
error: duplicate Rhai signature for 'foo'
2021-10-12 20:57:47 +08:00
--> ui_tests/rhai_fn_rename_collision_with_itself.rs:12:15
2020-09-05 10:46:24 +08:00
|
12 | #[rhai_fn(name = "foo", name = "bar", name = "foo")]
2021-10-20 15:34:21 +08:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2020-09-05 10:46:24 +08:00
error: duplicated function renamed 'foo'
2021-10-12 20:57:47 +08:00
--> ui_tests/rhai_fn_rename_collision_with_itself.rs:12:15
2020-09-05 10:46:24 +08:00
|
12 | #[rhai_fn(name = "foo", name = "bar", name = "foo")]
2021-10-20 15:34:21 +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`
2021-10-12 20:57:47 +08:00
--> ui_tests/rhai_fn_rename_collision_with_itself.rs:20:8
2020-09-05 10:46:24 +08:00
|
20 | if test_module::test_fn(n) {
2020-09-11 22:45:15 +08:00
| ^^^^^^^^^^^ use of undeclared crate or module `test_module`