mirror of
https://github.com/nushell/nushell.git
synced 2025-02-02 03:30:16 +01:00
feat(errors): more explicit module_or_overlay_not_found_error help message (#5564)
This commit is contained in:
parent
038391519b
commit
498672f5e5
@ -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),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user