forked from extern/nushell
Clarify error message for let
in pipeline (#5677)
Refer to the suggestion as an assignment
This commit is contained in:
parent
eb12fffbc6
commit
e2c015f725
@ -83,7 +83,7 @@ pub enum ParseError {
|
||||
code(nu::parser::unexpected_keyword),
|
||||
url(docsrs),
|
||||
help(
|
||||
"Assigning '{0}' to '{1}' does not produce a value to be piped. If the pipeline is meant to apply to '{0}' by itself, use 'let {1} = ({0} | ...)'."
|
||||
"Assigning '{0}' to '{1}' does not produce a value to be piped. If the pipeline result is meant to be assigned to '{1}', use 'let {1} = ({0} | ...)'."
|
||||
)
|
||||
)]
|
||||
LetInPipeline(String, String, #[label("let in pipeline")] Span),
|
||||
|
Loading…
Reference in New Issue
Block a user