Fix test output.

This commit is contained in:
Stephen Chung 2020-09-26 12:28:28 +08:00
parent 984ef48741
commit 91886e30d2

View File

@ -1,17 +1,17 @@
error: duplicate Rhai signature for 'foo' error: duplicate Rhai signature for 'foo'
Error: --> $DIR/rhai_fn_rename_collision_oneattr.rs:17:12 --> $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: duplicated function 'foo'
Error: --> $DIR/rhai_fn_rename_collision_oneattr.rs:12:15 --> $DIR/rhai_fn_rename_collision_oneattr.rs:12:15
| |
12 | #[rhai_fn(name = "foo")] 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`
Error: --> $DIR/rhai_fn_rename_collision_oneattr.rs:27:8 --> $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`