forked from extern/nushell
Add additional span to IncorrectValue error (#10036)
This commit is contained in:
@ -114,7 +114,9 @@ pub enum ShellError {
|
||||
IncorrectValue {
|
||||
msg: String,
|
||||
#[label = "{msg}"]
|
||||
span: Span,
|
||||
val_span: Span,
|
||||
#[label = "encountered here"]
|
||||
call_span: Span,
|
||||
},
|
||||
|
||||
/// This value cannot be used with this operator.
|
||||
|
Reference in New Issue
Block a user