mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
use the fancy
This commit is contained in:
@ -7,7 +7,7 @@ edition = "2018"
|
||||
nu-engine = { path = "../nu-engine" }
|
||||
nu-parser = { path = "../nu-parser" }
|
||||
nu-protocol = { path = "../nu-protocol" }
|
||||
miette = { version = "3.0.0-alpha.0", features = ["fancy"] }
|
||||
miette = { git = "https://github.com/zkat/miette", branch = "release/3.0.0", features = ["fancy"] }
|
||||
thiserror = "1.0.29"
|
||||
nu-ansi-term = "0.36.0"
|
||||
reedline = { git = "https://github.com/jntrnr/reedline", branch = "main" }
|
||||
|
@ -4,6 +4,6 @@ version = "0.1.0"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
miette = { version = "3.0.0-alpha.0" }
|
||||
miette = { git = "https://github.com/zkat/miette", branch = "release/3.0.0" }
|
||||
thiserror = "1.0.29"
|
||||
nu-protocol = { path = "../nu-protocol"}
|
||||
|
@ -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),
|
||||
|
@ -7,4 +7,4 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
thiserror = "1.0.29"
|
||||
miette = { version = "3.0.0-alpha.0" }
|
||||
miette = { git = "https://github.com/zkat/miette", branch = "release/3.0.0" }
|
||||
|
Reference in New Issue
Block a user