Fix parse error metadata (#399)

This commit is contained in:
JT 2021-12-02 19:36:30 +13:00 committed by GitHub
parent 99de2b1d77
commit ac2afab40b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}")]