rhai/codegen/ui_tests/rhai_fn_rename_collision_with_itself.stderr

18 lines
645 B
Plaintext
Raw Normal View History

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