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

View File

@ -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),