diff --git a/codegen/ui_tests/export_mod_bad_attr.stderr b/codegen/ui_tests/export_mod_bad_attr.stderr index 9704d74d..c9318637 100644 --- a/codegen/ui_tests/export_mod_bad_attr.stderr +++ b/codegen/ui_tests/export_mod_bad_attr.stderr @@ -4,8 +4,8 @@ error: unknown attribute 'unknown' 11 | #[rhai_fn(unknown = "thing")] | ^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_mod` +error[E0433]: failed to resolve: use of undeclared crate or module `test_mod` --> $DIR/export_mod_bad_attr.rs:22:8 | 22 | if test_mod::test_fn(n) { - | ^^^^^^^^ use of undeclared type or module `test_mod` + | ^^^^^^^^ use of undeclared crate or module `test_mod` diff --git a/codegen/ui_tests/export_mod_bad_value.stderr b/codegen/ui_tests/export_mod_bad_value.stderr index 63b22e4e..683e689d 100644 --- a/codegen/ui_tests/export_mod_bad_value.stderr +++ b/codegen/ui_tests/export_mod_bad_value.stderr @@ -4,8 +4,8 @@ error: expecting string literal 11 | #[rhai_fn(name = true)] | ^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_mod` +error[E0433]: failed to resolve: use of undeclared crate or module `test_mod` --> $DIR/export_mod_bad_value.rs:22:8 | 22 | if test_mod::test_fn(n) { - | ^^^^^^^^ use of undeclared type or module `test_mod` + | ^^^^^^^^ use of undeclared crate or module `test_mod` diff --git a/codegen/ui_tests/export_mod_cfg.stderr b/codegen/ui_tests/export_mod_cfg.stderr index b932ec86..a5b9c027 100644 --- a/codegen/ui_tests/export_mod_cfg.stderr +++ b/codegen/ui_tests/export_mod_cfg.stderr @@ -4,8 +4,8 @@ error: cfg attributes not allowed on this item 11 | #[cfg(not(feature = "foo"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_mod` +error[E0433]: failed to resolve: use of undeclared crate or module `test_mod` --> $DIR/export_mod_cfg.rs:23:8 | 23 | if test_mod::test_fn(n) { - | ^^^^^^^^ use of undeclared type or module `test_mod` + | ^^^^^^^^ use of undeclared crate or module `test_mod` diff --git a/codegen/ui_tests/export_mod_extra_value.stderr b/codegen/ui_tests/export_mod_extra_value.stderr index 0e3c65d6..9ad71395 100644 --- a/codegen/ui_tests/export_mod_extra_value.stderr +++ b/codegen/ui_tests/export_mod_extra_value.stderr @@ -4,8 +4,8 @@ error: extraneous value 11 | #[rhai_fn(return_raw = "yes")] | ^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_mod` +error[E0433]: failed to resolve: use of undeclared crate or module `test_mod` --> $DIR/export_mod_extra_value.rs:22:8 | 22 | if test_mod::test_fn(n) { - | ^^^^^^^^ use of undeclared type or module `test_mod` + | ^^^^^^^^ use of undeclared crate or module `test_mod` diff --git a/codegen/ui_tests/export_mod_junk_arg.stderr b/codegen/ui_tests/export_mod_junk_arg.stderr index f4505bae..8d0a9ef9 100644 --- a/codegen/ui_tests/export_mod_junk_arg.stderr +++ b/codegen/ui_tests/export_mod_junk_arg.stderr @@ -4,8 +4,8 @@ error: expecting identifier 11 | #[rhai_fn("wheeeee")] | ^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_mod` +error[E0433]: failed to resolve: use of undeclared crate or module `test_mod` --> $DIR/export_mod_junk_arg.rs:22:8 | 22 | if test_mod::test_fn(n) { - | ^^^^^^^^ use of undeclared type or module `test_mod` + | ^^^^^^^^ use of undeclared crate or module `test_mod` diff --git a/codegen/ui_tests/export_mod_missing_value.stderr b/codegen/ui_tests/export_mod_missing_value.stderr index f479f5fa..b4819fce 100644 --- a/codegen/ui_tests/export_mod_missing_value.stderr +++ b/codegen/ui_tests/export_mod_missing_value.stderr @@ -4,8 +4,8 @@ error: requires value 11 | #[rhai_fn(name)] | ^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_mod` +error[E0433]: failed to resolve: use of undeclared crate or module `test_mod` --> $DIR/export_mod_missing_value.rs:22:8 | 22 | if test_mod::test_fn(n) { - | ^^^^^^^^ use of undeclared type or module `test_mod` + | ^^^^^^^^ use of undeclared crate or module `test_mod` diff --git a/codegen/ui_tests/export_mod_path_attr.stderr b/codegen/ui_tests/export_mod_path_attr.stderr index d96d7c8c..55ca0b2c 100644 --- a/codegen/ui_tests/export_mod_path_attr.stderr +++ b/codegen/ui_tests/export_mod_path_attr.stderr @@ -4,8 +4,8 @@ error: expecting attribute name 11 | #[rhai_fn(rhai::name = "thing")] | ^^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_mod` +error[E0433]: failed to resolve: use of undeclared crate or module `test_mod` --> $DIR/export_mod_path_attr.rs:22:8 | 22 | if test_mod::test_fn(n) { - | ^^^^^^^^ use of undeclared type or module `test_mod` + | ^^^^^^^^ use of undeclared crate or module `test_mod` diff --git a/codegen/ui_tests/export_mod_raw_noreturn.stderr b/codegen/ui_tests/export_mod_raw_noreturn.stderr index a548f339..74fd381f 100644 --- a/codegen/ui_tests/export_mod_raw_noreturn.stderr +++ b/codegen/ui_tests/export_mod_raw_noreturn.stderr @@ -4,8 +4,8 @@ error: return_raw functions must return Result 12 | pub fn test_fn(input: &mut Point) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_mod` +error[E0433]: failed to resolve: use of undeclared crate or module `test_mod` --> $DIR/export_mod_raw_noreturn.rs:22:5 | 22 | test_mod::test_fn(&mut n); - | ^^^^^^^^ use of undeclared type or module `test_mod` + | ^^^^^^^^ use of undeclared crate or module `test_mod` diff --git a/codegen/ui_tests/module_cfg_const.stderr b/codegen/ui_tests/module_cfg_const.stderr index 4eaf1b06..9d3bd14d 100644 --- a/codegen/ui_tests/module_cfg_const.stderr +++ b/codegen/ui_tests/module_cfg_const.stderr @@ -4,8 +4,8 @@ error: cfg attributes not allowed on this item 13 | #[cfg(feature = "foo")] | ^^^^^^^^^^^^^^^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/module_cfg_const.rs:26:8 | 26 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/module_cfg_fn.stderr b/codegen/ui_tests/module_cfg_fn.stderr index 80ac12f8..f2529cbd 100644 --- a/codegen/ui_tests/module_cfg_fn.stderr +++ b/codegen/ui_tests/module_cfg_fn.stderr @@ -4,8 +4,8 @@ error: cfg attributes not allowed on this item 11 | #[cfg(not(feature = "foo"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/module_cfg_fn.rs:22:8 | 22 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_fn_bad_attr.stderr b/codegen/ui_tests/rhai_fn_bad_attr.stderr index 3fe059dd..0f7fa449 100644 --- a/codegen/ui_tests/rhai_fn_bad_attr.stderr +++ b/codegen/ui_tests/rhai_fn_bad_attr.stderr @@ -4,8 +4,8 @@ error: unknown attribute 'unknown' 11 | #[rhai_fn(unknown = "thing")] | ^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_fn_bad_attr.rs:22:8 | 22 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_fn_bad_value.stderr b/codegen/ui_tests/rhai_fn_bad_value.stderr index fedaed9b..f899ddad 100644 --- a/codegen/ui_tests/rhai_fn_bad_value.stderr +++ b/codegen/ui_tests/rhai_fn_bad_value.stderr @@ -4,8 +4,8 @@ error: expecting string literal 11 | #[rhai_fn(name = true)] | ^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_fn_bad_value.rs:22:8 | 22 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_fn_extra_value.stderr b/codegen/ui_tests/rhai_fn_extra_value.stderr index 0597f4c2..44ecfc0c 100644 --- a/codegen/ui_tests/rhai_fn_extra_value.stderr +++ b/codegen/ui_tests/rhai_fn_extra_value.stderr @@ -4,8 +4,8 @@ error: extraneous value 11 | #[rhai_fn(return_raw = "yes")] | ^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_fn_extra_value.rs:22:8 | 22 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_fn_junk_arg.stderr b/codegen/ui_tests/rhai_fn_junk_arg.stderr index e2054eef..2fa0be8d 100644 --- a/codegen/ui_tests/rhai_fn_junk_arg.stderr +++ b/codegen/ui_tests/rhai_fn_junk_arg.stderr @@ -4,8 +4,8 @@ error: expecting identifier 11 | #[rhai_fn("wheeeee")] | ^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_fn_junk_arg.rs:22:8 | 22 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_fn_missing_value.stderr b/codegen/ui_tests/rhai_fn_missing_value.stderr index 6ea8040a..1cd4b241 100644 --- a/codegen/ui_tests/rhai_fn_missing_value.stderr +++ b/codegen/ui_tests/rhai_fn_missing_value.stderr @@ -4,8 +4,8 @@ error: requires value 11 | #[rhai_fn(name)] | ^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_fn_missing_value.rs:22:8 | 22 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_fn_path_attr.stderr b/codegen/ui_tests/rhai_fn_path_attr.stderr index 5b471f16..70c3b155 100644 --- a/codegen/ui_tests/rhai_fn_path_attr.stderr +++ b/codegen/ui_tests/rhai_fn_path_attr.stderr @@ -4,8 +4,8 @@ error: expecting attribute name 11 | #[rhai_fn(rhai::name = "thing")] | ^^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_fn_path_attr.rs:22:8 | 22 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_fn_rename_collision.stderr b/codegen/ui_tests/rhai_fn_rename_collision.stderr index 19ddfd35..fcbecd8a 100644 --- a/codegen/ui_tests/rhai_fn_rename_collision.stderr +++ b/codegen/ui_tests/rhai_fn_rename_collision.stderr @@ -10,8 +10,8 @@ error: duplicated function renamed 'foo' 12 | #[rhai_fn(name = "foo")] | ^^^^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_fn_rename_collision.rs:28:8 | 28 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_fn_rename_collision_oneattr.stderr b/codegen/ui_tests/rhai_fn_rename_collision_oneattr.stderr index 6702b43a..b10e434c 100644 --- a/codegen/ui_tests/rhai_fn_rename_collision_oneattr.stderr +++ b/codegen/ui_tests/rhai_fn_rename_collision_oneattr.stderr @@ -10,8 +10,8 @@ error: duplicated function 'foo' 17 | pub fn foo(input: Point) -> bool { | ^^^ -error[E0433]: failed to resolve: use of undeclared type 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 | 27 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_fn_rename_collision_oneattr_multiple.stderr b/codegen/ui_tests/rhai_fn_rename_collision_oneattr_multiple.stderr index 091a5893..2f2f6623 100644 --- a/codegen/ui_tests/rhai_fn_rename_collision_oneattr_multiple.stderr +++ b/codegen/ui_tests/rhai_fn_rename_collision_oneattr_multiple.stderr @@ -10,8 +10,8 @@ error: duplicated function renamed 'get$bar' 12 | #[rhai_fn(name = "foo", get = "bar")] | ^^^^^^^^^^^^^^^^^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_fn_rename_collision_oneattr_multiple.rs:25:8 | 25 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_fn_rename_collision_with_itself.stderr b/codegen/ui_tests/rhai_fn_rename_collision_with_itself.stderr index ffbca90b..5e27be60 100644 --- a/codegen/ui_tests/rhai_fn_rename_collision_with_itself.stderr +++ b/codegen/ui_tests/rhai_fn_rename_collision_with_itself.stderr @@ -10,8 +10,8 @@ error: duplicated function renamed 'foo' 12 | #[rhai_fn(name = "foo", name = "bar", name = "foo")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_fn_rename_collision_with_itself.rs:20:8 | 20 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_fn_rename_dot.stderr b/codegen/ui_tests/rhai_fn_rename_dot.stderr index 61299e8b..964e1b34 100644 --- a/codegen/ui_tests/rhai_fn_rename_dot.stderr +++ b/codegen/ui_tests/rhai_fn_rename_dot.stderr @@ -4,8 +4,8 @@ error: Rhai function names may not contain dot 12 | #[rhai_fn(name = "foo.bar")] | ^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_fn_rename_dot.rs:23:8 | 23 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_mod_bad_attr.stderr b/codegen/ui_tests/rhai_mod_bad_attr.stderr index 87209038..8ac71f6c 100644 --- a/codegen/ui_tests/rhai_mod_bad_attr.stderr +++ b/codegen/ui_tests/rhai_mod_bad_attr.stderr @@ -4,8 +4,8 @@ error: unknown attribute 'unknown' 11 | #[rhai_mod(unknown = "thing")] | ^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_mod_bad_attr.rs:24:8 | 24 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_mod_bad_value.stderr b/codegen/ui_tests/rhai_mod_bad_value.stderr index 765f8a1f..76498300 100644 --- a/codegen/ui_tests/rhai_mod_bad_value.stderr +++ b/codegen/ui_tests/rhai_mod_bad_value.stderr @@ -4,8 +4,8 @@ error: expecting string literal 11 | #[rhai_mod(name = true)] | ^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_mod_bad_value.rs:24:8 | 24 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_mod_junk_arg.stderr b/codegen/ui_tests/rhai_mod_junk_arg.stderr index c2dcc28a..a8c733a0 100644 --- a/codegen/ui_tests/rhai_mod_junk_arg.stderr +++ b/codegen/ui_tests/rhai_mod_junk_arg.stderr @@ -4,8 +4,8 @@ error: expecting identifier 11 | #[rhai_mod("wheeeee")] | ^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_mod_junk_arg.rs:24:8 | 24 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_mod_missing_value.stderr b/codegen/ui_tests/rhai_mod_missing_value.stderr index 62e0502f..ed452923 100644 --- a/codegen/ui_tests/rhai_mod_missing_value.stderr +++ b/codegen/ui_tests/rhai_mod_missing_value.stderr @@ -4,8 +4,8 @@ error: requires value 11 | #[rhai_mod(name)] | ^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_mod_missing_value.rs:24:8 | 24 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_mod_name_collisions.stderr b/codegen/ui_tests/rhai_mod_name_collisions.stderr index 539bd3eb..53c209e1 100644 --- a/codegen/ui_tests/rhai_mod_name_collisions.stderr +++ b/codegen/ui_tests/rhai_mod_name_collisions.stderr @@ -10,8 +10,8 @@ error: duplicated function 'test_fn' 12 | pub fn test_fn(input: Point) -> bool { | ^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_mod_name_collisions.rs:26:8 | 26 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_mod_path_attr.stderr b/codegen/ui_tests/rhai_mod_path_attr.stderr index bd165324..cb99205a 100644 --- a/codegen/ui_tests/rhai_mod_path_attr.stderr +++ b/codegen/ui_tests/rhai_mod_path_attr.stderr @@ -4,8 +4,8 @@ error: expecting attribute name 11 | #[rhai_mod(rhai::name = "thing")] | ^^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_mod_path_attr.rs:24:8 | 24 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module` diff --git a/codegen/ui_tests/rhai_mod_return_raw.stderr b/codegen/ui_tests/rhai_mod_return_raw.stderr index f767dce0..50ab3bef 100644 --- a/codegen/ui_tests/rhai_mod_return_raw.stderr +++ b/codegen/ui_tests/rhai_mod_return_raw.stderr @@ -4,8 +4,8 @@ error: unknown attribute 'return_raw' 11 | #[rhai_mod(return_raw = "yes")] | ^^^^^^^^^^ -error[E0433]: failed to resolve: use of undeclared type or module `test_module` +error[E0433]: failed to resolve: use of undeclared crate or module `test_module` --> $DIR/rhai_mod_return_raw.rs:24:8 | 24 | if test_module::test_fn(n) { - | ^^^^^^^^^^^ use of undeclared type or module `test_module` + | ^^^^^^^^^^^ use of undeclared crate or module `test_module`