From 984ef4874173037f24341823b485931e011362c4 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sat, 26 Sep 2020 12:17:16 +0800 Subject: [PATCH] Fix test. --- .../rhai_fn_rename_collision_oneattr.stderr | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/codegen/ui_tests/rhai_fn_rename_collision_oneattr.stderr b/codegen/ui_tests/rhai_fn_rename_collision_oneattr.stderr index b10e434c..1a9ea35f 100644 --- a/codegen/ui_tests/rhai_fn_rename_collision_oneattr.stderr +++ b/codegen/ui_tests/rhai_fn_rename_collision_oneattr.stderr @@ -1,17 +1,17 @@ error: duplicate Rhai signature for 'foo' - --> $DIR/rhai_fn_rename_collision_oneattr.rs:12:15 - | -12 | #[rhai_fn(name = "foo")] - | ^^^^^^^^^^^^ - -error: duplicated function 'foo' - --> $DIR/rhai_fn_rename_collision_oneattr.rs:17:12 +Error: --> $DIR/rhai_fn_rename_collision_oneattr.rs:17:12 | 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` - --> $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) { | ^^^^^^^^^^^ use of undeclared crate or module `test_module`