Errors when let in, let env and similar commands are passed. (#5866)

* throw `let nu/env/nothing/in` error in parsing

* add tests and fmt

* fix clippy

* suggestions

* fmt

* `lvalue.span` instead of `spans[1]`

* clippy

* fmt
This commit is contained in:
pwygab
2022-06-25 05:55:25 +08:00
committed by GitHub
parent f02076daa8
commit 1345f97202
4 changed files with 34 additions and 0 deletions

View File

@ -30,6 +30,7 @@ mod into_filesize;
mod into_int;
mod last;
mod length;
mod let_;
mod lines;
mod ls;
mod math;