mirror of
https://github.com/nushell/nushell
synced 2024-12-27 13:33:16 +00:00
Fix parse error metadata (#399)
This commit is contained in:
parent
99de2b1d77
commit
ac2afab40b
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ pub enum ParseError {
|
|||
ExportNotFound(#[label = "could not find imports"] Span),
|
||||
|
||||
#[error("File not found")]
|
||||
#[diagnostic(code(nu::parser::export_not_found), url(docsrs))]
|
||||
#[diagnostic(code(nu::parser::file_not_found), url(docsrs))]
|
||||
FileNotFound(String),
|
||||
|
||||
#[error("{0}")]
|
||||
|
|
Loading…
Reference in a new issue