2020-08-28 05:26:05 +02:00
|
|
|
error: duplicate function 'test_fn'
|
|
|
|
--> $DIR/rhai_mod_name_collisions.rs:16:12
|
|
|
|
|
|
|
|
|
16 | pub fn test_fn(input: Point) -> bool {
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: duplicated function 'test_fn'
|
|
|
|
--> $DIR/rhai_mod_name_collisions.rs:12:12
|
|
|
|
|
|
|
|
|
12 | pub fn test_fn(input: Point) -> bool {
|
|
|
|
| ^^^^^^^
|
|
|
|
|
2020-09-11 16:45:15 +02:00
|
|
|
error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
|
2020-08-28 05:26:05 +02:00
|
|
|
--> $DIR/rhai_mod_name_collisions.rs:26:8
|
|
|
|
|
|
|
|
|
26 | if test_module::test_fn(n) {
|
2020-09-11 16:45:15 +02:00
|
|
|
| ^^^^^^^^^^^ use of undeclared crate or module `test_module`
|