Fix test.
This commit is contained in:
parent
0d7d54e21c
commit
984ef48741
@ -1,17 +1,17 @@
|
|||||||
error: duplicate Rhai signature for 'foo'
|
error: duplicate Rhai signature for 'foo'
|
||||||
--> $DIR/rhai_fn_rename_collision_oneattr.rs:12:15
|
Error: --> $DIR/rhai_fn_rename_collision_oneattr.rs:17:12
|
||||||
|
|
|
||||||
12 | #[rhai_fn(name = "foo")]
|
|
||||||
| ^^^^^^^^^^^^
|
|
||||||
|
|
||||||
error: duplicated function 'foo'
|
|
||||||
--> $DIR/rhai_fn_rename_collision_oneattr.rs:17:12
|
|
||||||
|
|
|
|
||||||
17 | pub fn foo(input: Point) -> bool {
|
17 | pub fn foo(input: Point) -> bool {
|
||||||
| ^^^
|
| ^^^
|
||||||
|
|
||||||
|
error: duplicated function 'foo'
|
||||||
|
Error: --> $DIR/rhai_fn_rename_collision_oneattr.rs:12:15
|
||||||
|
|
|
||||||
|
12 | #[rhai_fn(name = "foo")]
|
||||||
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
|
error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
|
||||||
--> $DIR/rhai_fn_rename_collision_oneattr.rs:27:8
|
Error: --> $DIR/rhai_fn_rename_collision_oneattr.rs:27:8
|
||||||
|
|
|
|
||||||
27 | if test_module::test_fn(n) {
|
27 | if test_module::test_fn(n) {
|
||||||
| ^^^^^^^^^^^ use of undeclared crate or module `test_module`
|
| ^^^^^^^^^^^ use of undeclared crate or module `test_module`
|
||||||
|
Loading…
Reference in New Issue
Block a user