mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 02:55:07 +02:00
Fix unsupported type message for some math related commands (#4672)
* Fix unsupported type message of some math related commands * changing the error form for UnsupportedInput * cargo fmt
This commit is contained in:
@ -152,7 +152,7 @@ pub enum ShellError {
|
||||
|
||||
#[error("Unsupported input")]
|
||||
#[diagnostic(code(nu::shell::unsupported_input), url(docsrs))]
|
||||
UnsupportedInput(String, #[label("{0} not supported")] Span),
|
||||
UnsupportedInput(String, #[label("{0}")] Span),
|
||||
|
||||
#[error("Unable to parse datetime")]
|
||||
#[diagnostic(
|
||||
|
Reference in New Issue
Block a user