feat(errors): more explicit module_or_overlay_not_found_error help message (#5564)

This commit is contained in:
Emilien Fugier 2022-05-17 13:22:31 +02:00 committed by GitHub
parent 038391519b
commit 498672f5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ pub enum ParseError {
#[diagnostic( #[diagnostic(
code(nu::parser::module_not_found), code(nu::parser::module_not_found),
url(docsrs), 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), ModuleNotFound(#[label = "module not found"] Span),