mirror of
https://github.com/nushell/nushell.git
synced 2025-08-17 23:09:51 +02:00
Convert PluginFailedToEncode to named fields (#11125)
# Description Part of #10700 # User-Facing Changes None # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib` # After Submitting N/A
This commit is contained in:
@@ -88,7 +88,7 @@ impl From<ShellError> for LabeledError {
|
||||
msg,
|
||||
span: None,
|
||||
},
|
||||
ShellError::PluginFailedToEncode(msg) => LabeledError {
|
||||
ShellError::PluginFailedToEncode { msg } => LabeledError {
|
||||
label: "Plugin failed to encode".into(),
|
||||
msg,
|
||||
span: None,
|
||||
|
Reference in New Issue
Block a user