use the fancy

This commit is contained in:
JT
2021-09-21 16:10:29 +12:00
parent 4841d62d76
commit 3c18cac134
6 changed files with 8 additions and 10 deletions

View File

@ -39,7 +39,7 @@ pub enum ParseError {
#[diagnostic(code(nu::parser::type_mismatch), url(docsrs))]
Mismatch(String, String, #[label("expected {0}, found {1}")] Span), // expected, found, span
#[error("Unsupported operation.")]
#[error("Types mismatched for operation.")]
#[diagnostic(
code(nu::parser::unsupported_operation),
url(docsrs),