From 498672f5e5fce78aa209d1c46f663226ef48f370 Mon Sep 17 00:00:00 2001 From: Emilien Fugier Date: Tue, 17 May 2022 13:22:31 +0200 Subject: [PATCH] feat(errors): more explicit module_or_overlay_not_found_error help message (#5564) --- crates/nu-parser/src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-parser/src/errors.rs b/crates/nu-parser/src/errors.rs index aad64cdcd..4f51d004a 100644 --- a/crates/nu-parser/src/errors.rs +++ b/crates/nu-parser/src/errors.rs @@ -98,7 +98,7 @@ pub enum ParseError { #[diagnostic( code(nu::parser::module_not_found), url(docsrs), - help("module files need to be available before your script is run") + help("module files and their paths must be available before your script is run as parsing occurs before anything is evaluated") )] ModuleNotFound(#[label = "module not found"] Span),