mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 03:29:57 +02:00
clippy errors
This commit is contained in:
@@ -401,7 +401,7 @@ pub fn report_shell_error(
|
||||
Diagnostic::error()
|
||||
.with_message("External command")
|
||||
.with_labels(vec![
|
||||
Label::primary(diag_file_id, diag_range).with_message(format!("{}", error))
|
||||
Label::primary(diag_file_id, diag_range).with_message(error.to_string())
|
||||
])
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user