mirror of
https://github.com/nushell/nushell.git
synced 2025-04-11 14:58:21 +02:00
Fix parse error metadata (#399)
This commit is contained in:
parent
99de2b1d77
commit
ac2afab40b
@ -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 New Issue
Block a user