diff --git a/codegen/ui_tests/rhai_mod_unknown_type.stderr b/codegen/ui_tests/rhai_mod_unknown_type.stderr index 392f90a9..87360967 100644 --- a/codegen/ui_tests/rhai_mod_unknown_type.stderr +++ b/codegen/ui_tests/rhai_mod_unknown_type.stderr @@ -15,7 +15,7 @@ help: consider importing one of these items | 11 | use core::fmt::Pointer; | -11 | use crate::mem::fmt::Pointer; +11 | use crate::new_vec::fmt::Pointer; | 11 | use std::fmt::Pointer; | diff --git a/tests/packages.rs b/tests/packages.rs index 961d4b3e..6e871496 100644 --- a/tests/packages.rs +++ b/tests/packages.rs @@ -29,6 +29,8 @@ fn test_packages() -> Result<(), Box> { Ok(()) } +#[cfg(not(feature = "no_function"))] +#[cfg(not(feature = "no_module"))] #[test] fn test_packages_with_script() -> Result<(), Box> { let mut engine = Engine::new();