mirror of
https://github.com/nushell/nushell.git
synced 2025-04-24 13:18:18 +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),
|
ExportNotFound(#[label = "could not find imports"] Span),
|
||||||
|
|
||||||
#[error("File not found")]
|
#[error("File not found")]
|
||||||
#[diagnostic(code(nu::parser::export_not_found), url(docsrs))]
|
#[diagnostic(code(nu::parser::file_not_found), url(docsrs))]
|
||||||
FileNotFound(String),
|
FileNotFound(String),
|
||||||
|
|
||||||
#[error("{0}")]
|
#[error("{0}")]
|
||||||
|
Loading…
Reference in New Issue
Block a user